Outils pour utilisateurs

Outils du site


code:zoulang

Grammaire

  0 $accept: scene "end"
  1 scene: actions
  2      | error
  3 actions: action
  4        | actions action
  5 action: "jouer" "symbol" quand ou mouvement "."
  6       | "attendre" temps "."
  7 quand: %empty
  8      | "int" "fois"
  9      | "toutes" "les" temps
 10      | "continuellement"
 11 ou: %empty
 12   | position_initiale
 13 position_initiale: "en" point
 14                  | direction "a" float
 15 direction: "devant"
 16          | "derriere"
 17          | "a" "gauche"
 18          | "a" "droite"
 19          | "a" horaire
 20          | "a" "float" "degres"
 21 horaire: nombre_litteral_horaire "heure"
 22        | "midi"
 23 nombre_litteral_horaire: "une"
 24                        | "deux"
 25                        | "trois"
 26                        | "quatre"
 27                        | "cinq"
 28                        | "six"
 29                        | "sept"
 30                        | "huit"
 31                        | "neuf"
 32                        | "dix"
 33                        | "onze"
 34 temps: "int" ":" "int" ":" "int"
 35      | "int" "heures"
 36      | "int" "heures" "int" "minutes"
 37      | "int" "heures" "int" "minutes" "int" "secondes"
 38      | "int" "minutes"
 39      | "int" "minutes" "int" "secondes"
 40      | "int" "secondes"
 41 mouvement: "fixe"
 42          | "dont" "le" "parcours" "est" "[" liste_points "]" "de" "vitesse" float
 43          | "dont" "le" "mouvement" "est" modele "de" "vitesse" float
 44 modele: "circulaire" "de" "rayon" float
 45       | "aleatoire"
 46 liste_points: point
 47             | liste_points ";" point
 48 point: "(" float "," float ")"
 49 float: "int"
 50      | "float"
code/zoulang.txt · Dernière modification: 2017/04/11 15:51 (modification externe)