Add ANTLR grammar rules for 'bye' and 'goodbye' with parser and listener updates

This commit is contained in:
bobbert committed 2026-03-26 16:04:26 +00:00
1 parent 6205020013
commit d913d95b8b
9 files changed
+147 -29

No files matched your search

+1
View File
@@ -3,3 +3,4 @@ grammar week3;
start : 'minimal' ID ;
ID : [a-zA-Z]+ ;
WS : [ \t\r\n]+ -> skip ;
bye : ('bye'| 'goodbye') ID ;