This commit is contained in:
tuvu
2025-02-13 12:36:37 +01:00
parent 8faeb45832
commit 4ac687a12e
2 changed files with 25 additions and 24 deletions

View File

@@ -21,6 +21,31 @@ options {
@members {
}
prog : bloc EOF
;
bloc : sujet listvc P
;
sujet : LC entity RC
;
listvc : LC vc RC more
;
more : SEMI listvc
|
;
vc : LC verbe RC listc
;
listc : LC comp RC morec
;
morec : V comp
|
;
entity : ID
;
verbe : ID
;
comp : ID
;
turtle
returns[TurtleAST t]: EOF { $t = null ; };