Compact data-schema that maps data like a social or neural graph.
Key Characteristics of the SyntaxObject-Oriented Identity: Instead of complex databases, it uses standard JavaScript objects but handles them as living profiles. You invoke things relative to the current context using this.me. Bracket Operators for Logic: It leverages array-style brackets to create custom semantic commands, shorthand relationships, and conditional rules.
import Me from "this.me";
const me = new Me();
me["@"]("jabellae"); // Declares the handle/identity
me.profile.name("Abella.e");
me.profile.bio("Building the semantic web.");
// Nesting other profiles seamlessly
me.users.pablo.name("Pablo");
me.users.pablo.age(17);
2. The Pointer Syntax (->)
To prevent data duplication and establish relationships, the syntax introduces custom pointer strings. You can link one path to another to show semantic relationships:
Start .me in 60 seconds...
// Point "friends.pablo" directly to the profile data inside "users.pablo"
me.friends.pablo["->"]("users.pablo");
3. Broadcast Rules ([i] and =)
The syntax allows you to broadcast expressions over arrays or structural groups. It interprets strings as dynamic, local logical expressions:
⟁ Infinite Semantic Trees
// Automatically compute whether items in a list meet a condition
me.friends["[i]"]["="]("is_adult", "age >= 18");
Top comments (0)