code:mjlang
Grammaire
0 $accept: programme "end"
1 programme: paragraphes "end"
2 paragraphes: %empty 3 | paragraphes paragraphe
4 paragraphe: definition "\n\n" 5 | error "\n\n"
6 definition: definition_zone 7 | definition_scene
8 definition_zone: "symbol" "est" "une" "zone" ":" "[" liste_points "]" "." scenes
9 liste_points: point 10 | liste_points ";" point
11 point: "(" float "," float ")"
12 float: INT 13 | FLOAT
14 scenes: scene 15 | scenes scene
16 scene: "symbol" "."
17 definition_scene: "symbol" "est" "une" "scene" ":" SCENE_TOK "."
code/mjlang.txt · Dernière modification : 2024/02/09 16:26 de 127.0.0.1