Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix command separation | P. J. McDermott | 2016-02-20 | 1 | -9/+17 |
| | | | | | | `foo bar ( baz )` no longer gets parsed as `foo bar` and `( baz )`. Also restrict function names. | ||||
* | Fix function definitions (almost) | P. J. McDermott | 2016-02-20 | 1 | -20/+12 |
| | |||||
* | Implement I/O operator parsing | P. J. McDermott | 2016-02-20 | 1 | -9/+40 |
| | |||||
* | Implement "case" construct | P. J. McDermott | 2016-02-20 | 1 | -6/+40 |
| | |||||
* | Implement (non-functional) function handling | P. J. McDermott | 2016-02-20 | 1 | -4/+14 |
| | |||||
* | Implement "while" and "until" loops | P. J. McDermott | 2016-02-20 | 1 | -5/+15 |
| | |||||
* | Implement "if" construct | P. J. McDermott | 2016-02-20 | 1 | -2/+21 |
| | |||||
* | Rearrange command() | P. J. McDermott | 2016-02-20 | 1 | -4/+6 |
| | |||||
* | Fix handling of unexpected EOF | P. J. McDermott | 2016-02-20 | 1 | -7/+7 |
| | |||||
* | Improve error when expecting EOF | P. J. McDermott | 2016-02-20 | 1 | -1/+3 |
| | |||||
* | tokname(): Add new special symbols | P. J. McDermott | 2016-02-20 | 1 | -1/+3 |
| | |||||
* | Check only first word of simple commands for reseserved words | P. J. McDermott | 2016-02-20 | 2 | -3/+5 |
| | |||||
* | Fix T_LBRACE, T_RBRACE, and T_BANG recognition | P. J. McDermott | 2016-02-20 | 2 | -4/+4 |
| | |||||
* | Delimit words at unescaped operators | P. J. McDermott | 2016-02-19 | 2 | -2/+3 |
| | | | | Also expect EOF at end of script. | ||||
* | Improve reserved word recognition | P. J. McDermott | 2016-02-19 | 2 | -14/+50 |
| | | | | | | And fix term() to allow do_group() to find T_DONE. Also, ERMAHGERD DEBERG. | ||||
* | Add more productions, special tokens, etc. | P. J. McDermott | 2016-02-19 | 2 | -12/+324 |
| | |||||
* | Recognize reserved words | P. J. McDermott | 2016-02-19 | 1 | -7/+28 |
| | |||||
* | Add missing I/O tokens | P. J. McDermott | 2016-02-19 | 2 | -11/+31 |
| | |||||
* | Add error handling to lexer | P. J. McDermott | 2016-02-19 | 2 | -64/+152 |
| | |||||
* | [WIP] Add lexer/parser demo | P. J. McDermott | 2016-02-19 | 3 | -0/+645 |