commentaires

This commit is contained in:
trochas
2025-02-13 14:44:40 +01:00
parent 3f98e2a0b1
commit 77706a1697

View File

@@ -23,26 +23,26 @@ options {
}
prog : bloc EOF
;
bloc : sujet listvc P
bloc : sujet listvc P // <entity> list.
;
sujet : LC entity RC
sujet : LC entity RC //<entity>
;
listvc : vc more
listvc : vc more //<verbe> (;<verbe>)*
;
more : SEMI listvc
more : SEMI listvc // ; <verbe>*
|
;
vc : LC verbe RC listc //REvoir avec un arbre car in géné avec listvc < <verbe> com >
;
listc : comp morec //on ne peut pas mettre le <> ici car on petu assi mettre des ""
listc : comp morec //on ne peut pas mettre le <> ici car on peut assi mettre des ""
;
morec : V listc //correction : listc au lieux de comp
|
;
verbe : ID
;
comp : LC ID RC //<>
| G ID G //""
comp : LC ID RC //<ID>
| G ID G //"ID"
;
entity : ID
;