pass-lang/src
James T. Martin 68ce32a6df
Slightly unfuck codegen for relative jumps and blocks.
Still pretty horribly broken. I was generating dispacements
backwards, failing to emit stuff like the beginning of
loops, the logic for `if` jumps was backwards, etc.
I was also completely forgetting to increment file_here
for appends. I don't remember what all I did; check the diff.
2022-10-19 12:21:46 -07:00
..
lex Small refactor of indentation lexer. 2022-10-17 10:02:43 -07:00
asm.c Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
asm.h Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
format.c Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
format.h Factor out executable format handling into a new file. 2022-09-10 22:06:21 -07:00
io.c Factor out executable format handling into a new file. 2022-09-10 22:06:21 -07:00
io.h Factor out executable format handling into a new file. 2022-09-10 22:06:21 -07:00
ir.c Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
ir.h Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
lang.c Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
lang.h Wrote IR gen!! (Literally untested, though.) 2022-09-08 21:07:40 -07:00
lex.c Removed radix#int syntax, added keywords to lexer. 2022-09-10 14:58:22 -07:00
lex.h Removed radix#int syntax, added keywords to lexer. 2022-09-10 14:58:22 -07:00
main.c Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
parse.c No assertions fail during codegen (lang.c) for test file. 2022-10-17 11:45:38 -07:00
parse.h Implemented parser! Recognition only, no output. 2022-09-07 20:42:37 -07:00
x86encode.c Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00
x86encode.h Slightly unfuck codegen for relative jumps and blocks. 2022-10-19 12:21:46 -07:00