mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
18 lines
405 B
Plaintext
18 lines
405 B
Plaintext
|
---input---
|
||
|
rule<-("terminal"/nonterminal/[cls])*
|
||
|
|
||
|
---tokens---
|
||
|
'rule' Name.Class
|
||
|
'<-' Operator
|
||
|
'(' Punctuation
|
||
|
'"terminal"' Literal.String.Double
|
||
|
'/' Operator
|
||
|
'nonterminal' Name.Class
|
||
|
'/' Operator
|
||
|
'[' Punctuation
|
||
|
'cls' Literal.String
|
||
|
']' Punctuation
|
||
|
')' Punctuation
|
||
|
'*' Operator
|
||
|
'\n' Text.Whitespace
|