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