summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Remove unneeded check for \rHEADmasterDavid Phillips2018-08-17
|
* test: Exit falsey if any one language test failedDavid Phillips2018-08-06
|
* Add simple foreign symbol testsDavid Phillips2018-08-06
|
* Add TOK_BEGINDavid Phillips2018-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.
* Add failing test for lex-only errorDavid Phillips2018-08-06
|
* lex: add filename to errorDavid Phillips2018-08-06
| | | | Brings lexing error message format more into line with parser
* Rename empty tests to 2-digit conventionDavid Phillips2018-08-06
|
* Add lexer support for comment linesDavid Phillips2018-08-06
|
* Strip out old gates codeDavid Phillips2018-08-06
|
* Factor token definitions outDavid Phillips2018-08-06
|
* Prefix header guardsDavid Phillips2018-08-06
|
* Pad out parser with calls to stubsDavid Phillips2018-08-06
|
* parse: Change emit to func, misc tidyDavid Phillips2018-08-02
|
* lex,parse: Add nand, norDavid Phillips2018-08-02
| | | | Also update sample script to avoid idents colliding with keywords
* parse: Pass expr failure upDavid Phillips2018-08-02
|
* Revert to ^ for underline when token is narrowDavid Phillips2018-08-02
|
* Change token underlining character from ^ to "David Phillips2018-08-02
|
* No need for line_start variableDavid Phillips2018-08-02
|
* common: Make line counting more robustDavid Phillips2018-08-02
|
* Add note to abort callDavid Phillips2018-08-01
|
* Rename simulatorDavid Phillips2018-08-01
| | | | This project has had a name for a while now
* Remove unneeded build debug todoDavid Phillips2018-08-01
| | | | It was malformed anyway, ha.
* Rename lexer and parser, fix compilation warningsDavid Phillips2018-08-01
|
* Add simple language test cases, fix empty line bugDavid Phillips2018-08-01
|
* Remove superfluous indirectionDavid Phillips2018-08-01
|
* Add more wrapper macros for expectDavid Phillips2018-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 parsingDavid Phillips2018-08-01
|
* Fix mis-named expr keyword in lookup tableDavid Phillips2018-08-01
|
* Fix whitespace trimming on non-whitespace linesDavid Phillips2018-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 EOFDavid Phillips2018-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 outputDavid Phillips2018-08-01
|
* Add missing common.cDavid Phillips2018-08-01
|
* Add line area/span indication to error messagesDavid Phillips2018-08-01
|
* Fix buffer indexing error affecting alphanum tok valueDavid Phillips2018-08-01
|
* WIP: Implement more robust, separated lexer+parser passesDavid Phillips2018-08-01
|
* Fix use after free and memory leakDavid Phillips2017-12-29
|
* Add more cases to parser whitespace testDavid Phillips2017-12-28
|
* Move test binaries to separate ignored dirDavid Phillips2017-12-28
|
* Switch order of tags and names output in test scriptDavid Phillips2017-12-28
|
* Don't track binariesDavid Phillips2017-12-28
|
* Massive parser clamp-downDavid Phillips2017-12-28
|
* Add more tests, fix misc bugs foundDavid Phillips2017-12-28
|
* Move logic tests to test frameworkDavid Phillips2017-12-28
|
* Add self-test for not logicDavid Phillips2017-12-28
|
* Eat whitespace before input labelDavid Phillips2017-12-28
|
* Refactor main from parser to simulatorDavid Phillips2017-12-28
|
* Add beginnings of test frameworkDavid Phillips2017-12-28
|
* Misc linting/tidyDavid Phillips2017-12-28
|
* Implement unary operation in parserDavid Phillips2017-12-28
|
* Rename adder sample, add gates sampleDavid Phillips2017-12-28
|