Skip to content

Commit 9387ca6

Browse files
authored
Update vyxal.grammar
1 parent dfa7314 commit 9387ca6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/common/scripts/language/vyxal.grammar

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
@top Program { Statement+ }
33
@skip { Space }
4-
Statement { Digraph | SyntaxTrigraph | StructureOpen | StructureClose | ListStuff | ModifierChar | VariableThing | Number | AnyString | Branch | ContextIndex | Comment | Element }
4+
Statement { Digraph | SyntaxTrigraph | StructureOpen | StructureClose | ListStuff | Modifier | VariableThing | Number | AnyString | Branch | ContextIndex | Comment | Element }
55
Number { NumberDecimal | TwoCharNumber }
66
NumberDecimal {
77
NumberPart |
@@ -14,23 +14,23 @@ AnyString {
1414
}
1515
@tokens {
1616
Space { @whitespace+ }
17-
ModifierChar {$[⑴∦⎂⎇▦⑶¨~⁜ᖶᛞ⑵⟒¿∺⩔⑷Ẅ∥]}
17+
Modifier {$[⑴∦⎂⎇▦⑶¨~⑵⟒¿∺⩔⑷Ẅ∥]}
1818
Comment {"##" (![
1919
])*}
2020
Digraph { $[∆øÞk] _ | "#" ![[\]$!=#>@{:] }
2121
NumberPart { "0" | ($[1-9] $[0-9]*) }
2222
SyntaxTrigraph { "#:" ![[] }
2323
Branch {"|"}
2424
ListStuff { "#[" | "#]"}
25-
StructureOpen {"" | "{" | "⎄" | "(" | "ƛ" | "#{" | "λ" | "Ω" | "⎊" | "µ" | "["}
25+
StructureOpen {"ξ" | "⎄" | "(" | "ƛ" | "#{" | "λ" | "⍾" | "{" | "ʎ" | "⎊" | "µ" | "["}
2626
StructureClose {"}" | "]" | "⎋" | "⍟" | ")"}
2727
String {'"' (!["„”“\\] | "\\" _)* $["„”“]}
2828
SingleCharString { "'" _ }
2929
TwoCharString { "Ꮬ" _ _ }
3030
TwoCharNumber { "Ꮠ" _ _ }
3131
VariableThing { "#" ($[=$>]|":[") $[A-Z] $[a-zA-Z0-9_]* }
3232
ContextIndex { "#¤" @digit }
33-
Element { ![~₳Ωλƛµ⎋⍟⎊⎄⩔Ẅ⎇¿∥∦∺⁜⑴⑵⑶⑷⎂⟒ᛞ▦¨"#'().0123456789[\]k{|}ᏜᏐÞ∆ø„”“] }
33+
Element { ![ʎλƛµξ⍾⎋⍟⎊⎄⩔Ẅ⎇¿∥∦∺⁜⑴⑵⑶⑷⎂⟒ᛞ▦¨"#'().0123456789[\]k{|}~ᏜᏐÞ∆ø„”“] }
3434
@precedence { Space, Element }
3535
}
3636

0 commit comments

Comments
 (0)