aboutsummaryrefslogtreecommitdiff
path: root/src/parser.c
AgeCommit message (Expand)Author
2020-08-09Cleanup file data if file read failsdec05eba
2020-07-25Fix thread pool task count not increasing, incorrect ParserFileScopeReferencedec05eba
2020-07-25Fix incorrect alloc size of ParserFileScopeReferencedec05eba
2020-07-25wip: function pointers and other stuffdec05eba
2020-07-25Rename ssa to irdec05eba
2020-07-25Implicit cast to larger size, number suffix for number bitsizedec05eba
2020-07-25Implicit cast from str to ?&c_char, fix use of parameters (to use sys v regis...dec05eba
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-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
2020-07-25Find tokenizer by code reference instead of using scope parserdec05eba
2020-07-25Add if/else/elseif/while, including the final assemblydec05eba
2020-07-25Add exported variable (only functions for now), export main func, start execu...dec05eba
2020-07-25Move thread work from compiler/parser to thread_work file, fix use after free...dec05eba
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-25Before interpreter. Cleanup build script. Begin writing code analyzer tool to...dec05eba
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-25Start on amal programdec05eba
2020-07-25Fix errors from pedantic checkdec05eba
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
2020-07-25Test errors, stop working on errordec05eba
2020-07-25Synchronize funccall generate. Uses correct func index nowdec05eba
2020-07-25Resolve cross-file references (with mutex). Not donedec05eba
2020-07-25Use ast pointers to fix resolving, remove try/throwing macrosdec05eba
2020-07-25Add mutex for lhs expr, add error for missing lhs expr for func, structdec05eba
2020-07-25Add pub keyword, more import stuff, optimize hash mapdec05eba
2020-07-25Add struct, import caching, binop ops etcdec05eba
2020-07-25Resolve variable referencesdec05eba
2020-07-25Add ssa stringdec05eba
2020-07-25Load @import files relative to the file that uses @importdec05eba
2020-07-25Use ast_initdec05eba
2020-07-25Start on resolving ast. Add recursive declaration checkdec05eba
2020-07-25Add check for duplicate variable namesdec05eba
2020-07-25Add ast resolving using multiple threadsdec05eba
2020-07-25Cleanup, fix syntax defdec05eba
2020-07-25Code cleanupdec05eba
2020-07-25Simplify (cleanup) binop parsingdec05eba
2020-07-25Use setjmp, longjmp instead of return_if_error to improve performancedec05eba
2020-07-25Add arithmetic (binop) parsingdec05eba
2020-07-25Add variable declaration without assignmentdec05eba
2020-07-25Readd requirement for semicolon, makes things much simpler (for user as well)dec05eba
2020-07-25Use 'fn' to define closure to make parsing/reading the language easierdec05eba
2020-07-25Add string, variable and number. Fix identifier match against const and vardec05eba