16 Commits (8bd4d390a9f43b730cd4403b4c767847e1e8cd4e)

Author SHA1 Message Date
David Berneda 962db9d090 Update arithmetics.pegjs 6 years ago
David Majda 6294bb5b13 Use only "//" comments 7 years ago
David Majda aa1a2e74cf Replace suitable for loops with Array methods (in /examples) 7 years ago
David Majda e510ecc3d0 Switch from first/rest to head/tail in example grammars 8 years ago
David Majda 10d7a6aded Simplify the arithmetics example grammar 8 years ago
David Majda 9e8cb04c81 examples/arithmetics.pegjs: Remove trailing whitespace 8 years ago
chunpu e6efe09ac3 Update example arithmetics.pegjs, make it work 9 years ago
David Majda f5443d2bf1 Complete rewrite of the arithmetics example grammar 9 years ago
David Majda 9ec6b6aa57 Text nodes: Use text nodes in examples/arithmetics.pegjs 11 years ago
David Majda ee8c121676 Use labeled expressions and variables instead of $1, $2, etc. 13 years ago
David Majda 409ddf2ae8 Formatted all grammars more consistently and transparently 13 years ago
David Majda 698564a3c2 Replace ":" after a rule name with "=" 13 years ago
David Majda 8f2aa1e834 Fixed a bug in the example grammar where integers beginning with 0 were parsed as octal. 13 years ago
David Majda aff85fd228 Removed subtraction and division from the example grammar because of wrong associativity. 13 years ago
David Majda 9d239db2d6 Simplified the example arithmetics grammar once more + addded comment. 13 years ago
David Majda 1ee0049b08 Changed standard grammar extension from .peg to .pegjs (it is more specific). 13 years ago
David Majda eade133ea6 Simplified the example arithmetics grammar. 13 years ago
David Majda c3dd696a3e Initial commit. 13 years ago