Commits

gabriele renzi  committed 9a0e643

cosmethic

  • Participants
  • Parent commits 7888b67

Comments (0)

Files changed (1)

File src/parser/grammar.pg

 }
 
 rule binary {
-    |'remainder' 'of' 'the' 'quotient' 'between' <value> 'and' <value> {*} #= mod
-    |'difference' 'between' <value> 'and' <value> {*} #= sub
-    |'sum' 'of' <value> 'and' <value> {*} #= add
-    |'product' 'of' <value> 'and' <value> {*} #= mul
-    |'quotient' 'between' <value> 'and' <value> {*} #= div
+  |'remainder' 'of' 'the' 'quotient' 'between' <value> 'and' <value> {*} #= mod
+  |'difference' 'between' <value> 'and' <value> {*} #= sub
+  |'sum' 'of' <value> 'and' <value> {*} #= add
+  |'product' 'of' <value> 'and' <value> {*} #= mul
+  |'quotient' 'between' <value> 'and' <value> {*} #= div
 }
 
 rule unary {
-    |'factorial' 'of' <value> {*} #= fact
-    |'square' 'of' <value> {*} #= square
-    |'square root' 'of' <value> {*} #= sqrt
-    |'cube' 'of' <value> {*} #= cube
-    |'twice' <value> {*} #= dup
+  |'factorial' 'of' <value> {*} #= fact
+  |'square' 'of' <value> {*} #= square
+  |'square root' 'of' <value> {*} #= sqrt
+  |'cube' 'of' <value> {*} #= cube
+  |'twice' <value> {*} #= dup
 }
 
 rule value {