Files
2023-10-13 14:01:41 +00:00

20 lines
300 B
Plaintext

lexer grammar t011lexer;
options {
language = Python3;
}
IDENTIFIER:
('a'..'z'|'A'..'Z'|'_')
('a'..'z'
|'A'..'Z'
|'0'..'9'
|'_'
{
print("Underscore")
print("foo")
}
)*
;
WS: (' ' | '\n')+;