build ok
This commit is contained in:
@@ -22,30 +22,6 @@ SEMI: ';'
|
||||
;
|
||||
G: '"'
|
||||
;
|
||||
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
|
||||
;
|
||||
|
||||
// Whitespaces are ignored.
|
||||
fragment WS: (' ' | '\n' | '\t' | '\r' | '\u000C');
|
||||
|
||||
@@ -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 ; };
|
||||
Reference in New Issue
Block a user