lezer-ludus/ludus.grammar

11 lines
178 B
Plaintext
Raw Normal View History

2023-11-26 18:00:23 +00:00
@top File { (Identifier | Number | String)+ }
@skip { space }
@tokens {
space { @whitespace+ }
Identifier { $[A-Za-z_]+ }
Number { $[0-9]+ }
String { '"' !["]* '"' }
}