summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2025-10-27remove several direct uses of in.data, out.dataWormHeamer
2025-10-27begin work on nodelistsWormHeamer
2025-10-27arena allocate procsWormHeamer
2025-10-21cleanup commentsWormHeamer
2025-10-21save & load scratch in parse_stmt instead of reset in parse_procWormHeamer
2025-10-21cleanupWormHeamer
2025-10-21scratch arena reset has to happen in parse_proc, not parse_blockWormHeamer
2025-10-21almost there...WormHeamer
2025-08-30separate IR graph parts of Proc into a Graph structWormHeamer
2025-08-27add scratch arena to ProcWormHeamer
2025-08-11replace separate type checks with non-NULL parse_expr twantWormHeamer
2025-08-10remove some debug printfsWormHeamer
2025-08-10allow func foo T {}WormHeamer
2025-08-10better error reporting around uninitialized valuesWormHeamer
2025-08-10fix peephole bug (communative(phi(a,b), phi(a,b)) =/= communative(a,b))WormHeamer
2025-08-10add type-specifiers to let, N_UNINIT for uninitialized valuesWormHeamer
2025-08-10remove some commented out code, unused varWormHeamer
2025-08-10separate peephole optimization outWormHeamer
2025-08-08attempt at optimizing regions after graph generation....WormHeamer
2025-08-08rework some stuff, maybe bugfix, loosen associative typecheckingWormHeamer
2025-08-08some comments &cWormHeamer
2025-08-07hopefully make multiple returns form sensible graphsWormHeamer
2025-08-07i thiiiink if statement peepholes work now?WormHeamer
2025-08-07fix region nodes being culled prematurelyWormHeamer
2025-08-07preliminary peephole optimization of if statementsWormHeamer
2025-08-07no_opt = 0WormHeamer
2025-08-07add if statementsWormHeamer
2025-08-05fix params being pushed in reverse orderWormHeamer
2025-08-05allow `proc main(a, b, c i64)` and suchWormHeamer
2025-08-04NODE_KEEP macroWormHeamer
2025-08-04fix bug of lhs getting culled if same node optimized out of rhsWormHeamer
2025-08-04add optimizations based on only partially known valuesWormHeamer
2025-08-04color nodes by modulo of IDWormHeamer
2025-08-04add projection nodes, fix peephole optimizationWormHeamer
2025-08-03comment out some debug printfsWormHeamer
2025-08-03add booleans and comparison operatorsWormHeamer
2025-08-03add assignment statementsWormHeamer
2025-08-03factor out node stuff into ir.c & ir.hWormHeamer
2025-08-03shift operators, deduplicate integer constant nodesWormHeamer
2025-08-02better error reportingWormHeamer
2025-08-02preliminary let bindingsWormHeamer
2025-08-02some junkWormHeamer
2025-08-02bunch of stuff to make error messages look more like gcc lolWormHeamer
2025-08-02more peepholingWormHeamer
2025-08-02highly speculative peephole stuffWormHeamer
2025-08-02whole bunch of graph stuff, fixing up, basic arithmetic peepholes...WormHeamer
2025-08-01begin working on graph IRWormHeamer
2025-08-01add commentsWormHeamer
2025-07-31initial commitWormHeamer