Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Add TOK_BEGIN | David Phillips | 2018-08-06 |
| | | | | | | | | | This lets us indicate that the lexer succeeded, even on an empty program. Previous behaviour was to return NULL on failure and on lex success of an empty progam. Enforcing the presence of a head for the linked token list ensures that we can reliably detect error as a caller of the lexer. Fixes test just added in previous commit too. | ||
* | Pad out parser with calls to stubs | David Phillips | 2018-08-06 |
| | |||
* | parse: Change emit to func, misc tidy | David Phillips | 2018-08-02 |
| | |||
* | lex,parse: Add nand, nor | David Phillips | 2018-08-02 |
| | | | | Also update sample script to avoid idents colliding with keywords | ||
* | parse: Pass expr failure up | David Phillips | 2018-08-02 |
| | |||
* | Rename lexer and parser, fix compilation warnings | David Phillips | 2018-08-01 |