aboutsummaryrefslogtreecommitdiff
path: root/std/vector.cup
Commit message (Collapse)AuthorAgeFilesLines
* [cup] Self-hosting is now possible! Make some tweaks to match C outputMustafa Quraish2022-02-071-1/+1
| | | | | | | | | | | A bit of a chonky commit, but this ports over the remaining (well, almost) everything from the C implementation to the self-hosted compiler. The only things that really remain right now are (1) defer support and (2) support for constants in local scopes. There were used barely enough so for now their uses have been removed, but I'll implement them back later. Not sure how useful (2) is though.
* [compiler.cup] Add support for function calls!Mustafa Quraish2022-02-051-1/+1
|
* [compiler.cup] Add support for lexically scoped local variablesMustafa Quraish2022-02-051-0/+7
|
* Add support for some more binary ops: |, &, ^Mustafa Quraish2022-02-051-0/+40