Commit Graph

7 Commits

Author SHA1 Message Date
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