aboutsummaryrefslogtreecommitdiff
path: root/src/bytecode/bytecode.c
AgeCommit message (Collapse)Author
2020-07-25wip: function pointers and other stuffdec05eba
2020-07-25Rename ssa to irdec05eba
2020-07-25Add !=,<,<=,>,>=; both signed and notdec05eba
2020-07-25Implicit cast from str to ?&c_char, fix use of parameters (to use sys v ↵dec05eba
registers)
2020-07-25Implement vararg, verify arguments to parametersdec05eba
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-25Add code example to READMEdec05eba
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 exported variable (only functions for now), export main func, start ↵dec05eba
execution from main func
2020-07-25Code cleanup in ssa/bytecode. Remove ugly memcpydec05eba
2020-07-25Cleanup on test failuredec05eba
2020-07-25Add extern funcs, parameter registers, fix asm_rm RSP bugdec05eba
2020-07-25Implement more instructions, implement function parameters and argumentsdec05eba
2020-07-25Remove nullable... it's bad to have magic. Static analysis can do it insteaddec05eba
2020-07-25Add nullable, add bytecode documentationdec05eba
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.
2020-07-25Start on real bytecode & doc parsingdec05eba
2020-07-25Fix errors from pedantic checkdec05eba
2020-07-25stderr>file in bytecodedec05eba
2020-07-25Add assignment, while, extern, function signature type, start on bytecodedec05eba
2020-07-25Progressing on bytecode (to c), fix ssa resolving multiple timesdec05eba
2020-07-25Start on bytecode. Commit before os switchdec05eba