| author | Sebastian Harl <sh@tokkee.org> | |
| Sun, 27 Jul 2014 22:27:12 +0000 (00:27 +0200) | ||
| committer | Sebastian Harl <sh@tokkee.org> | |
| Sun, 27 Jul 2014 22:27:12 +0000 (00:27 +0200) | ||
| commit | 0d93606de8723dfe170b43883b9edc09f2bf060d | |
| tree | 3722cde2cc0df7e0b74ffbc5f149e997fc9b51c4 | tree | snapshot |
| parent | bcdab455276ee24a4afb8d69db069c16d47f9b1e | commit | diff |
frontend: Added a parser for arithmetic expressions.
For now, the expressions are used in place of a datum but the parser will
actually evaluate the expression before passing it on to the store during
lookup. Since expressions currently cover constant results only, this is not a
limitation for now.
For now, the expressions are used in place of a datum but the parser will
actually evaluate the expression before passing it on to the store during
lookup. Since expressions currently cover constant results only, this is not a
limitation for now.
| src/frontend/grammar.y | diff | blob | history | |
| src/frontend/scanner.l | diff | blob | history | |
| t/unit/frontend/parser_test.c | diff | blob | history |