aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
Commit message (Expand)AuthorAgeFilesLines
* Add support for basic structsMustafa Quraish2022-02-031-2/+107
* Add automatic type inference for initialized variable declarationsMustafa Quraish2022-02-031-17/+27
* Add pre-increment and pre-decrement operators.Mustafa Quraish2022-02-031-2/+33
* Add an implicit block around a `for` loop, allow statement initMustafa Quraish2022-02-031-12/+27
* Move builtins to a separate fileMustafa Quraish2022-02-031-28/+1
* Allow implicitly converting between integer-like-typesMustafa Quraish2022-02-031-4/+7
* Add support for `char` type + string/char literalsMustafa Quraish2022-02-021-7/+23
* Remove default initialization to 0 for variable declarationsMustafa Quraish2022-02-021-0/+3
* Add initial support for arrays (also no testing)Mustafa Quraish2022-02-021-8/+61
* Move type-related stuff to a separate fileMustafa Quraish2022-02-021-118/+1
* Type checking of expressions / functions!Mustafa Quraish2022-02-021-8/+160
* Use `type*` instead of `type&` to denote a pointer type (for now)Mustafa Quraish2022-02-021-1/+1
* Add support for pointers! (tests missing)Mustafa Quraish2022-02-021-3/+11
* Add `size_for_type()` helper instead of hard-coding variable sizesMustafa Quraish2022-02-021-5/+5
* Modify how types are stored.Mustafa Quraish2022-02-021-84/+57
* Add basic `defer` implementation.Mustafa Quraish2022-02-011-0/+4
* Global variables now supported! + some fixes to OP_ASSIGNMustafa Quraish2022-01-311-12/+60
* Add ability to import other filesMustafa Quraish2022-01-311-2/+40
* Fix offset for local variablesMustafa Quraish2022-01-311-1/+1
* Add basic builtin-function supportMustafa Quraish2022-01-311-29/+62
* Rename `cup` directory to `src`Mustafa Quraish2022-01-301-0/+562