Commit Graph

1012 Commits (master)
 

Author SHA1 Message Date
Tristan B. V. Kildaire 302017e051 Added comment 3 years ago
Tristan B. V. Kildaire 1c335db683 Fixed bug that would allow you to not have a closing } for a body if you ran out of tokens.
It was checked by other means but not for `parse` me thinks
3 years ago
Tristan B. V. Kildaire ec8b03b4b6 Changed some stuff up, found bug that needs to be sorted out 3 years ago
Tristan B. V. Kildaire 25910b4940 Updated test case to include two function calls 3 years ago
Tristan B. V. Kildaire 0abfbf0b9e Function calls implemented 3 years ago
Tristan B. V. Kildaire da79f7f1d5 Updated test cases
Added string literal support for expressions
3 years ago
Tristan B. V. Kildaire 7a2ee46cdb Added new test cases 3 years ago
Tristan B. V. Kildaire bd656b9809 Updated test case 3 years ago
Tristan B. V. Kildaire 9b3440190b Recursive if statement parsing works! 3 years ago
Tristan B. V. Kildaire 8f746c97d0 Recursive expression handling 3 years ago
Tristan B. V. Kildaire 3ffa81d75f Call `nextToken` from within `parseExpression` to know when to quit, therefore removed calls made to nextToken after the call to `parseExpression` 3 years ago
Tristan B. V. Kildaire 5f4e46120b Moved symbol recognition unittests from parser.d to symbols.d 3 years ago
Tristan B. V. Kildaire e30291a5a0 Fixed unittests in parser 3 years ago
Tristan B. V. Kildaire f9b68b9658 Migrated symbol code from parser.d to symbols.d 3 years ago
Tristan B. V. Kildaire 89b52ec81e Added support for multiple function parameters in a function declaration 3 years ago
Tristan B. V. Kildaire 162b94447c Added body parsing for functions 3 years ago
Tristan B. V. Kildaire 6ef78bdb3b WIP: Function parsing 3 years ago
Tristan B. V. Kildaire eee13e915b Added invalid test cases 3 years ago
Tristan B. V. Kildaire aa8c23b4c7 Error out on invalid form for `parseTypedDeclaration` 3 years ago
Tristan B. V. Kildaire eca6acf4bf WIP: Variable declarations with/without assignments 3 years ago
Tristan B. V. Kildaire 84d190f78e WIP: Variable declaration parsing 3 years ago
Tristan B. V. Kildaire 9b45df01a6 Updated test case 3 years ago
Tristan B. V. Kildaire 162dd2d7e5 Added more symbols 3 years ago
Tristan B. V. Kildaire 3c21a5ad3f Set expectation error printout to error 3 years ago
Tristan B. V. Kildaire d87bbc0061 Fixed bug whereby the current token would never increment 3 years ago
Tristan B. V. Kildaire f2b1956555 Added needed plumbing for parser 3 years ago
Tristan B. V. Kildaire 484353f6a9 Adjusted column number to be a little closer to home (might change later when I try to make column numbers more accurate) 3 years ago
Tristan B. V. Kildaire 49d0fc0086 Fixed column number tracking 3 years ago
Tristan B. V. Kildaire 85efca8b87 Compiler now reads source file 3 years ago
Tristan B. V. Kildaire e5cb256e8a Added test case 3 years ago
Tristan B. V. Kildaire c439b4792c Integrated new Token type with lexer, now tokens take with them their line number and column number 3 years ago
Tristan B. V. Kildaire ef554befa4 Refactored lexer state variables to instance fields rather than local variables 3 years ago
Tristan B. V. Kildaire 8d24f6ada2 Added new-line support
Also added tracking for line number
3 years ago
Tristan B. V. Kildaire 45e707b582 Added skeleton parser module 3 years ago
Tristan B. V. Kildaire 2ceaa0c8b0 Added Token class for future use in lexer 3 years ago
Tristan B. V. Kildaire 1c2684814f Added TODO to do more tests 3 years ago
Tristan B. V. Kildaire 0f8862aedf Corrected module placement 3 years ago
Tristan B. V. Kildaire bd7c5aab72 Added usage instructions 3 years ago
Tristan B. V. Kildaire fa454049e8 Added build instructions and link to docs 3 years ago
Tristan B. V. Kildaire fa20257235 Updated .gitignore 3 years ago
Tristan B. V. Kildaire c3622869a4 Merge branch 'master' of https://github.com/tbklang/tlang 3 years ago
Tristan B. V. Kildaire 508885377f Removed TODO 3 years ago
Tristan B. V. Kildaire 02ed1f5af4 Addec character literal support 3 years ago
Tristan B. V. Kildaire a5b9837c80 Added escape sequence support 3 years ago
Tristan B. V. Kildaire 568c26765b
Create README.md 3 years ago
Tristan B. V. Kildaire 6c529fb67b Added more splitter characters 3 years ago
Tristan B. V. Kildaire 68f9bb6523 Fixed bug (and added corresponding unit test) whereby the combinator check would fail if the first element was at end-of-source 3 years ago
Tristan B. V. Kildaire 28ab54e852 Added more uni tests 3 years ago
Tristan B. V. Kildaire a7c0d37a01 Removed testing code 3 years ago
Tristan B. V. Kildaire f23d884b90 Fixed bug where we overshot array and added unittests 3 years ago