File size: 2,055 Bytes
ed6bec6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# Glyphic Language β Grammar Examples
This document provides clear examples of valid and invalid glyph sequences based on the strict syntax rules and BNF grammar of the Glyphic Language.
# 1. Basic Valid Examples
1.1 Actor + Action
π€ π
1.2 Action + Object
πΉ π―
1.3 Object + Modifier
π β¨
1.4 Object + Context
πͺ¨ ποΈ
# 2. Full Scene Examples
2.1 Actor + Action + Object + Context
π§ βοΈ π π‘ π
Meaning: A girl writing a page at home at sunrise.
2.2 Action + Object + Modifiers + Context
π₯ πͺ΅ β¨ π¨ π² π
Meaning: Fire burning wood intensely in a windy forest at night.
2.3 Actor + Action + Object + Emotion + Social
π€ π€ π§Ί π π§βπ€βπ§
Meaning: A person sharing a basket happily within a group.
# 3. ContextβHeavy Examples
3.1 Place + Time + Emotion
ποΈ π
π
3.2 Full Context Stack
ποΈ π
π π¬οΈ π§βπ€βπ§
# 4. Invalid Examples (with explanations)
4.1 Context before object
π
πͺ¨
INVALID β time context cannot precede object
4.2 Modifier after context
π π‘ β¨
INVALID β modifiers must appear before context
4.3 Multiple actions
π€ π βοΈ
INVALID β only one action allowed
4.4 Social before sensory
π§βπ€βπ§ π¬οΈ
INVALID β social context must come last
# 5. Reversibility Examples
5.1 Encoding and decoding match
Input: π€ π ποΈ
Output: π€ π ποΈ
5.2 Canonical ordering enforced
input meaning (unordered):
{
"object": "π",
"actor": "π€",
"action": "βοΈ",
"context": { "time": ["π"] }
}
Encoded output:
π€ βοΈ π π
# 6. Complex Scene Examples
6.1 Symbolic + Emotional
π± β¨ π π
Meaning: A symbolic sprout glowing peacefully under the night sky.
6.2 Multiβlayered context
π€ π§ π β¨ ποΈ π
π π¬οΈ π§βπ€βπ§
Meaning: A person meditating with a leaf in a bright, peaceful, breezy morning among others.
These examples serve as a reference for developers, LLM trainers, and agent designers working with the Glyphic Language.
|