lezer-ludus/ludus.grammar
Scott Richmond 04715704a6 Hello, world
2023-11-26 13:00:23 -05:00

11 lines
178 B
Plaintext

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