Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Strip out old gates code | David Phillips | 2018-08-06 |
| | |||
* | Factor token definitions out | David Phillips | 2018-08-06 |
| | |||
* | Prefix header guards | David Phillips | 2018-08-06 |
| | |||
* | 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 |
| | |||
* | Revert to ^ for underline when token is narrow | David Phillips | 2018-08-02 |
| | |||
* | Change token underlining character from ^ to " | David Phillips | 2018-08-02 |
| | |||
* | No need for line_start variable | David Phillips | 2018-08-02 |
| | |||
* | common: Make line counting more robust | David Phillips | 2018-08-02 |
| | |||
* | Add note to abort call | David Phillips | 2018-08-01 |
| | |||
* | Rename simulator | David Phillips | 2018-08-01 |
| | | | | This project has had a name for a while now | ||
* | Remove unneeded build debug todo | David Phillips | 2018-08-01 |
| | | | | It was malformed anyway, ha. | ||
* | Rename lexer and parser, fix compilation warnings | David Phillips | 2018-08-01 |
| | |||
* | Add simple language test cases, fix empty line bug | David Phillips | 2018-08-01 |
| | |||
* | Remove superfluous indirection | David Phillips | 2018-08-01 |
| | |||
* | Add more wrapper macros for expect | David Phillips | 2018-08-01 |
| | | | | | Also renames EXPECT_AND_DISCARD to indicate that it also returns 1 on behalf of the "using" code if expect fails | ||
* | Add more skeleton parsing | David Phillips | 2018-08-01 |
| | |||
* | Fix mis-named expr keyword in lookup table | David Phillips | 2018-08-01 |
| | |||
* | Fix whitespace trimming on non-whitespace lines | David Phillips | 2018-08-01 |
| | | | | | | Accounts for the case that whitespace doesn't start a line, but a token does instead. In this case, the whitespace span length should be set to 0 and additionally, still not reset each time whitespace is found. | ||
* | Trim leading whitespace from contextual error, detect EOF | David Phillips | 2018-08-01 |
| | | | | | | | Side-note that the token location tuple maintains the correct column number to include the whitespace in the source file. Side-side note: tabs are counted as one column but many editors will count them as whatever the tabstop/tabwidth is. | ||
* | Change emit to be general, add filename to output | David Phillips | 2018-08-01 |
| | |||
* | Add missing common.c | David Phillips | 2018-08-01 |
| | |||
* | Add line area/span indication to error messages | David Phillips | 2018-08-01 |
| | |||
* | Fix buffer indexing error affecting alphanum tok value | David Phillips | 2018-08-01 |
| | |||
* | WIP: Implement more robust, separated lexer+parser passes | David Phillips | 2018-08-01 |
| | |||
* | Fix use after free and memory leak | David Phillips | 2017-12-29 |
| | |||
* | Add more cases to parser whitespace test | David Phillips | 2017-12-28 |
| | |||
* | Move test binaries to separate ignored dir | David Phillips | 2017-12-28 |
| | |||
* | Switch order of tags and names output in test script | David Phillips | 2017-12-28 |
| | |||
* | Don't track binaries | David Phillips | 2017-12-28 |
| | |||
* | Massive parser clamp-down | David Phillips | 2017-12-28 |
| | |||
* | Add more tests, fix misc bugs found | David Phillips | 2017-12-28 |
| | |||
* | Move logic tests to test framework | David Phillips | 2017-12-28 |
| | |||
* | Add self-test for not logic | David Phillips | 2017-12-28 |
| | |||
* | Eat whitespace before input label | David Phillips | 2017-12-28 |
| | |||
* | Refactor main from parser to simulator | David Phillips | 2017-12-28 |
| | |||
* | Add beginnings of test framework | David Phillips | 2017-12-28 |
| | |||
* | Misc linting/tidy | David Phillips | 2017-12-28 |
| | |||
* | Implement unary operation in parser | David Phillips | 2017-12-28 |
| | |||
* | Rename adder sample, add gates sample | David Phillips | 2017-12-28 |
| | |||
* | Support first working prototype without nested gates | David Phillips | 2017-12-28 |
| | |||
* | Add licence | David Phillips | 2017-12-28 |
| | |||
* | Rough-out logic gate wiring | David Phillips | 2017-12-28 |
| | |||
* | Fix build issue, add clean recipe | David Phillips | 2017-12-28 |
| | |||
* | Strip out wire+node concepts, rely only on gates | David Phillips | 2017-12-28 |
| | |||
* | Rough-work expr/op parser stubs in | David Phillips | 2017-12-28 |
| | |||
* | Initual dump of partial work on parser and data structure | David Phillips | 2017-12-27 |