aboutsummaryrefslogtreecommitdiffstats
path: root/src/parser.c
Commit message (Collapse)AuthorAgeFilesLines
* Add initial boilerplate for closure captureBad Diode2021-11-151-1/+31
|
* Fix stack on procedure call returnBad Diode2021-11-151-1/+3
|
* Fix bug on parameter detection for named functionsBad Diode2021-11-101-4/+8
|
* Add support for accessing procedure parametersBad Diode2021-11-101-5/+23
|
* Add initial local definition/accessBad Diode2021-11-101-2/+3
|
* Change Environment to store locals in arrayBad Diode2021-11-101-20/+31
| | | | This will help directly translate the locals to assembly.
* Add `cons`, `car` and `cdr` primitivesBad Diode2021-11-041-0/+1
|
* Add compilation of `display` primitiveBad Diode2021-11-021-0/+3
|
* Add type predicate primitive proceduresBad Diode2021-11-011-0/+1
| | | | Added: nil?, zero?, bool?, fixnum?
* Add protection for buffer overflow of tokensBad Diode2021-10-311-6/+6
|
* Add a couple of EOF checksBad Diode2021-10-311-0/+29
|
* Replace string/symbol text field with StringViewBad Diode2021-10-311-21/+7
| | | | | This will avoid unnecessary allocations, since we always keep the original text file open until the end of the processing.
* Unify semantic analysis actions under a single functionBad Diode2021-10-311-111/+49
|
* Add number of arguments check in function callsBad Diode2021-10-311-12/+71
|
* Ensure lambdas wrap their env tablesBad Diode2021-10-311-2/+4
|
* Add dead code elimination to AST treeBad Diode2021-10-301-3/+73
|
* Add symbol declaration error checkingBad Diode2021-10-301-6/+75
|
* Prepare for scope checkBad Diode2021-10-301-12/+45
|
* Add hashtable for Environment trackingBad Diode2021-10-301-0/+53
|
* Add minimal syntax file for vimBad Diode2021-10-301-4/+4
|
* Add parsing for fun expressionsv0.9Bad Diode2021-10-301-0/+43
|
* Add parsing for def/set! expressionsBad Diode2021-10-301-15/+82
|
* Add parsing of if expressionsBad Diode2021-10-301-8/+83
|
* Add parsing of lambda expressionBad Diode2021-10-301-24/+106
|
* Revert "Deduplicate string/symbols text for fast equality checks"Bad Diode2021-10-291-89/+14
| | | | This reverts commit 95709acb7f166b21f562ef3fcf8ba7cb5890d28a.
* Deduplicate string/symbols text for fast equality checksBad Diode2021-10-291-14/+89
|
* Add parser for tokens->ast conversionBad Diode2021-10-291-0/+257