aboutsummaryrefslogtreecommitdiff
path: root/src/program.c
AgeCommit message (Collapse)Author
2020-07-25Add support for r8-r15 registers, pass args to registers directly (sys-v)dec05eba
2020-07-25Less endian codedec05eba
2020-07-25Use struct for bytecode header instead of pointer arithmeticdec05eba
2020-07-25Start on opengl test, fix stack alignment before call (sys-v)dec05eba
2020-07-25Allow referencing code in imported file (right now for function calls, allow ↵dec05eba
calling a function in another file)
2020-07-25Add if/else/elseif/while, including the final assemblydec05eba
2020-07-25Add sanity checksdec05eba
2020-07-25Add exported variable (only functions for now), export main func, start ↵dec05eba
execution from main func
2020-07-25Move thread work from compiler/parser to thread_work file, fix use after ↵dec05eba
free bug in multithreaded parser allocator
2020-07-25hash map containsdec05eba
2020-07-25Add extern funcs, parameter registers, fix asm_rm RSP bugdec05eba
2020-07-25Implement more instructions, implement function parameters and argumentsdec05eba
2020-07-25Move program code generation and execution out of program (make it generic)dec05eba
2020-07-25Add nullable, add bytecode documentationdec05eba
2020-07-25Update docdec05eba
2020-07-25Starting on asm, implementing extern function call so progress is visibledec05eba
2020-07-25Setup structure for program executedec05eba
2020-07-25Start on amal programdec05eba
Fix mutex issue in lhs expr which can cause a deadlock when a file has an error and throws and doesn't close the mutex and another thread waits for that mutex. The mutex can instead be removed and ignore race conditions which are uncommon. This should improve memory usage and performance.