mirror of
https://github.com/mudabbir-ahmad/MYOL-TB2-prog3-Py.git
synced 2026-10-08 03:50:20 +00:00
Add ANTLR grammar rules for 'bye' and 'goodbye' with parser and listener updates
This commit is contained in:
1 parent
6205020013
commit
d913d95b8b
9 files changed
+147
-29
No files matched your search
@@ -3,3 +3,4 @@ grammar week3;
|
||||
start : 'minimal' ID ;
|
||||
ID : [a-zA-Z]+ ;
|
||||
WS : [ \t\r\n]+ -> skip ;
|
||||
bye : ('bye'| 'goodbye') ID ;
|
||||
Reference in new issue
Block a user