628c7a3a13
Implement enums and the foundation of a type alias system
2022-03-04 01:11:04 +00:00
3717b310be
Implement unions and largest-element allocation
2022-03-03 02:44:07 +00:00
537246daae
CLion reformatting pass, finish struct implementation
2022-03-03 00:05:10 +00:00
2bdbe6e6c0
Fixes to parsing and function pointers. It's a hack but it... works? kinda?
2021-03-15 15:59:15 +00:00
d848425701
Working on functions, symbols, and toward a GL hello world.
2021-03-15 01:22:47 +00:00
18b5da209d
Major refactoring
...
Comments added to the parser and lexer, more to come
2021-01-20 19:22:15 +00:00
eb118db872
Major rewrite of the symbol parsing
...
Moved from a static double-ended list to individual singly-linked lists for easier and faster parsing
2021-01-20 01:05:41 +00:00
bcd313270f
Rework compiler command line parsing, it can now assemble and link automatically
2021-01-18 01:47:42 +00:00
b540d5ef1b
Cleanup data, prepare for local vars
2020-11-25 02:11:09 +00:00
a0d2575a83
Refactor pointer arithmetic
2020-09-14 02:05:24 +01:00
a27d3dd782
Add support for pointers of char, int and long types
2020-09-13 02:26:49 +01:00
59329d963f
First files.
...
Currently has two bugs.
First, all functions are resolved to index 0 (currently PrintInteger)
Second, the register used for returning is immediately overwritten by the next allocated register. This means addition of function return values is a little silly.
Also, commit signing!
2020-09-10 02:01:18 +01:00