zig0

my attempts at zig bootstrapping in C
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2026-02-13 22:07astgen: add \u{...} unicode escape sequence handlingMotiejus Jakštys1+68-0
2026-02-13 22:05astgen: fix builtin_call ensure_result_used bit positionMotiejus Jakštys1+11-5
2026-02-13 21:48astgen: fix defer RL annotation, compile_error noreturn, block force_comptimeMotiejus Jakštys1+12-26
2026-02-13 21:22parser: fix while-type-expr continue parsing and comptime labeled blocksMotiejus Jakštys1+2-3
2026-02-13 20:28astgen: fix int_type signedness and struct layoutMotiejus Jakštys3+5-4
2026-02-13 20:11astgen: fix cppcheck warnings (variableScope, uninitvar)Motiejus Jakštys1+2-2
2026-02-13 19:29astgen: fix while loop dbg_node, block expr rvalue, int_type data issueMotiejus Jakštys2+5-3
2026-02-13 19:20astgen: pass struct_init_empty through rvalue for proper RL handlingMotiejus Jakštys2+12-7
2026-02-13 19:14astgen: fix retExpr ptr RL, typeExpr for type sub-exprs, array_init_ref, slice sentinelMotiejus Jakštys2+206-55
2026-02-13 18:37astgen: add parser_test.zig corpus test (skipped), skip combined corpusMotiejus Jakštys1+9-1
2026-02-13 18:20astgen: fix @as result propagation, RL_REF_COERCED_TY, continue break src_node, varDecl init RLMotiejus Jakštys2+14-8
2026-02-13 17:00astgen: fix double ZIR_REF_START_INDEX in assignOpMotiejus Jakštys2+2-3
2026-02-13 16:28astgen: fix lastToken for BREAK/CONTINUE and ERROR_VALUEMotiejus Jakštys2+10-6
2026-02-13 15:29astgen: re-skip astgen_test.zig corpus, clean up debug codeMotiejus Jakštys1+1-1
2026-02-13 15:27astgen: fix dbg_stmt cursor save, comptime guard, array_accessMotiejus Jakštys2+31-22
2026-02-13 14:56astgen: thread ResultLoc through comptimeExpr, fix ResultCtx propagationMotiejus Jakštys2+103-48
2026-02-13 14:26more instructionsMotiejus Jakštys1+3-1
2026-02-13 14:08astgen: fix string dedup with string_table, handle embedded nullsMotiejus Jakštys1+82-48
2026-02-13 12:51astgen: fix build.zig corpus - call payload, condbr, for loop, ResultCtxMotiejus Jakštys2+531-444
2026-02-13 09:37update skillMotiejus Jakštys1+8-2
2026-02-13 09:13astgen: fix firstToken, slice rl, fnDecl param order, break labelsMotiejus Jakštys2+234-35
2026-02-13 08:47astgen: fix call instruction append and port shiftOpMotiejus Jakštys2+30-7
2026-02-13 08:26astgen: add rvalue coercion for orelse/catch then-branchMotiejus Jakštys2+157-140
2026-02-13 07:55add skillMotiejus Jakštys2+4-1
2026-02-13 07:55add skillMotiejus Jakštys1+116-0
2026-02-13 07:55comment out debug statementSMotiejus Jakštys1+5-5
2026-02-13 07:31astgen: skip failing corpus tests, fix fnDecl break node offsetMotiejus Jakštys1+1-1
2026-02-13 07:29astgen: fix fnDecl break_inline to use correct node offsetMotiejus Jakštys1+4-3
2026-02-13 06:05astgen: implement anonymous struct init with result typeMotiejus Jakštys2+40-2
2026-02-13 06:00astgen: fix char literal escape sequences and skip remaining corpusMotiejus Jakštys2+43-8
2026-02-13 05:58astgen: implement RL_REF_COERCED_TY result locationMotiejus Jakštys2+53-12
2026-02-13 05:53astgen: skip remaining corpus tests pending larger fixesMotiejus Jakštys1+2-1
2026-02-13 05:52astgen: fix string literal escape handling and string table orderingMotiejus Jakštys1+187-19
2026-02-13 05:45astgen: add missing emitDbgNode for if conditionMotiejus Jakštys2+3-1
2026-02-13 05:16astgen: add skipped corpus tests for remaining filesMotiejus Jakštys1+12-0
2026-02-13 05:15astgen: fix typed array init to use elem_type coercionMotiejus Jakštys2+16-6
2026-02-13 05:12astgen: add missing ZIR tags to test comparison functionsMotiejus Jakštys1+18-0
2026-02-13 05:10astgen: implement enum declarations and fix fn proto nodeMotiejus Jakštys2+241-15
2026-02-13 04:56astgen: handle extern variables and full declaration layoutMotiejus Jakštys2+460-61
2026-02-12 20:35astgen: implement error set declarationsMotiejus Jakštys2+51-4
2026-02-12 20:33astgen: implement struct field emission in structDeclInnerMotiejus Jakštys2+535-26
2026-02-12 20:23astgen: enable corpus test for test_all.zigMotiejus Jakštys1+5-0
2026-02-12 19:48more astgenMotiejus Jakštys2+205-70
2026-02-12 18:18astgen: fix continue and for loop scope handlingMotiejus Jakštys1+17-0
2026-02-12 17:58astgen: fix corpus mismatches (gap 20→-17)Motiejus Jakštys1+31-6
2026-02-12 15:09astgen: typeCast DBG_STMT, builtinEvalToError, memset/memcpy fixesMotiejus Jakštys1+200-55
2026-02-12 14:23astgen: add genDefers, ret_err_value fast path, fix scope chainMotiejus Jakštys2+239-33
2026-02-12 14:13remove obsolete functions/declsMotiejus Jakštys4+0-48
2026-02-12 13:42stricter test suiteMotiejus Jakštys2+31-33
2026-02-12 13:24astgen: RL threading, labeled blocks, comptime block payloadMotiejus Jakštys2+398-167
2026-02-12 12:08disable leak checker for nowMotiejus Jakštys1+6-0
2026-02-12 12:06quicker `zig build test`Motiejus Jakštys2+9-10
2026-02-12 11:52disable gcc_analyze for nowMotiejus Jakštys1+13-11
2026-02-12 11:51lint per fileMotiejus Jakštys2+43-38
2026-02-12 11:40astgen: port Phases 4-5 (control flow, expressions, scope chain)Motiejus Jakštys4+6142-765
2026-02-12 07:29valgrind no timeoutMotiejus Jakštys1+25-14
2026-02-12 06:16test timeoutsMotiejus Jakštys3+18-3
2026-02-11 22:42astgen: port Phases 1-3 from upstream AstGen.zigMotiejus Jakštys2+674-46
2026-02-11 22:32use zig's x86 backendMotiejus Jakštys1+5-1
2026-02-11 22:20build: subtract avx512f when running under valgrindMotiejus Jakštys1+11-1
2026-02-11 21:58Add structural AST consistency check to parser testsMotiejus Jakštys2+119-11
2026-02-11 21:32astgen: implement ZIR generation for basic expressions and declarationsMotiejus Jakštys5+2579-69
2026-02-11 20:45remove usage of __attribute__((__cleanup__(fn)))Motiejus Jakštys2+76-96
2026-02-11 20:05more instructions for agentsMotiejus Jakštys2+11-2
2026-02-11 18:37Merge branch 'zig01'Motiejus Jakštys1+4-0
2026-02-11 18:37update AGENTS.mdMotiejus Jakštys1+1-1
2026-02-11 18:37Add astgen scaffolding with ZIR data structures and first passing testMotiejus Jakštys7+692-0
2026-02-11 18:27valgrindMotiejus Jakštys1+15-2
2026-02-11 18:27valgrindMotiejus Jakštys1+11-2
2026-02-11 18:14update LICENSE againMotiejus Jakštys1+3-10
2026-02-11 18:10Update READMEMotiejus Jakštys1+14-0
2026-02-11 18:10parser: align structural logic with upstream Parse.zigMotiejus Jakštys1+108-69
2026-02-11 14:54more debugging tipsMotiejus Jakštys1+2-1
2026-02-11 14:24parser: reorder function definitions to match upstream Parse.zigMotiejus Jakštys1+2378-2376
2026-02-11 13:48parser: align function names with upstream Parse.zigMotiejus Jakštys1+124-108
2026-02-11 13:21sort forward declarations by nameMotiejus Jakštys1+58-58
2026-02-11 13:20parser: replace fprintf+longjmp with fail(), add forward declarationsMotiejus Jakštys4+164-154
2026-02-11 12:57parser: port upstream error detection, unskip all 14 testsMotiejus Jakštys2+232-30
2026-02-11 12:14parser: skip 14 tests, replace assertToken assert with longjmpMotiejus Jakštys2+20-1
2026-02-11 12:02parser: refactor expectVarDeclExprStatement to match upstreamMotiejus Jakštys1+54-77
2026-02-11 11:40parser: sync tests with upstream, fix tokenizer and parserMotiejus Jakštys3+1062-313
2026-02-11 10:18parser: propagate errors via setjmp/longjmp instead of exit(1)Motiejus Jakštys5+53-45
2026-02-11 09:56parser: refactor to match upstream Parse.zig structureMotiejus Jakštys1+230-357
2026-02-11 09:28parser: reorder tests, fix check_test_order.py for new file layoutMotiejus Jakštys2+477-153
2026-02-11 09:25parser: port canonicalize and cast builtin testsMotiejus Jakštys1+262-0
2026-02-11 09:18parser: update test bodies to match upstream verbatimMotiejus Jakštys1+90-15
2026-02-11 08:46parser: update defer test body to match upstreamMotiejus Jakštys1+10-2
2026-02-11 07:50parser: fix duplicate while test content, match upstream verbatimMotiejus Jakštys1+0-12
2026-02-11 07:46parser: update test bodies to match upstream verbatimMotiejus Jakštys1+54-10
2026-02-11 07:33parser: port destructure, infix, pointer/slice attribute testsMotiejus Jakštys2+71-4
2026-02-11 07:05parser: port pointer/slice attributes testsMotiejus Jakštys2+98-19
2026-02-11 06:46parser: update test bodies to match upstream verbatimMotiejus Jakštys1+35-13
2026-02-11 06:11reorder tests betterMotiejus Jakštys2+2188-2190
2026-02-11 06:07parser: port large batch of formatting tests (289/344)Motiejus Jakštys2+697-2
2026-02-11 05:46parser: reorder tests to match upstream file orderMotiejus Jakštys1+23-9
2026-02-11 05:45parser: port doc comment, literal, asm, ternary testsMotiejus Jakštys1+244-0
2026-02-11 05:16parser: reorder tests to match upstream file orderMotiejus Jakštys1+91-94
2026-02-11 05:15parser: port asm, comment, doc comment testsMotiejus Jakštys2+227-3
2026-02-11 05:10update READMEMotiejus Jakštys1+4-0
2026-02-11 05:04parser: port misc formatting tests batchMotiejus Jakštys1+106-0
2026-02-10 22:58parser: reorder tests to match upstream file orderMotiejus Jakštys1+33-31
2026-02-10 22:57parser: port full "while" and "for" testsMotiejus Jakštys2+205-2
2026-02-10 22:50parser: port test "switch multiline string"Motiejus Jakštys1+31-0
2026-02-10 22:48parser: port remaining asm testsMotiejus Jakštys2+88-6
2026-02-10 22:41parser: implement asm_legacy, port inline asm testsMotiejus Jakštys3+100-10
2026-02-10 22:31add check_test_order.py scriptMotiejus Jakštys1+118-0
2026-02-10 22:30parser: reorder tests to match upstream file orderMotiejus Jakštys1+446-448
2026-02-10 22:26parser: port enum/union/catch/switch/for/if declaration testsMotiejus Jakštys2+479-4
2026-02-10 21:46parser: port precedence, prefix, functions, values, indexing testsMotiejus Jakštys1+176-0
2026-02-10 21:43parser: implement asm parsing, port formatting testsMotiejus Jakštys1+126-3
2026-02-10 19:46parser: port formatting, declaration, fn attribute testsMotiejus Jakštys1+98-0
2026-02-10 19:23parser: implement for loops, port for/while loop testMotiejus Jakštys3+116-8
2026-02-10 19:13parser: port error set, suspend, switch prong comment testsMotiejus Jakštys2+119-2
2026-02-10 19:06parser: port comment, switch, error value tests batchMotiejus Jakštys2+244-5
2026-02-10 18:58parser: port switch, slice, array literal, formatting testsMotiejus Jakštys2+186-2
2026-02-10 18:51parser: port array literal hint and vertical alignment testsMotiejus Jakštys1+124-0
2026-02-10 18:49parser: port test "struct literal containing a multiline expression"Motiejus Jakštys1+61-0
2026-02-10 18:47parser: implement switch, port switch comment testsMotiejus Jakštys2+131-1
2026-02-10 18:39parser: port if-condition-wraps tests, implement catch payloadMotiejus Jakštys2+47-5
2026-02-10 18:35parser: port test "if condition wraps"Motiejus Jakštys1+81-0
2026-02-10 18:32parser: implement while loops, port while testMotiejus Jakštys2+73-6
2026-02-10 18:28parser: port test "2nd arg multiline string many args"Motiejus Jakštys1+20-0
2026-02-10 18:26parser: port zig fmt on/off in middle of code testsMotiejus Jakštys2+51-0
2026-02-10 18:23parser: port test "whitespace fixes"Motiejus Jakštys1+12-0
2026-02-10 18:22parser: port test "rewrite callconv(.@\"inline\") to the inline keyword"Motiejus Jakštys1+14-0
2026-02-10 18:20parser: reorder tests to match upstream file orderMotiejus Jakštys1+593-593
2026-02-10 18:13parser: port alignment and zig fmt whitespace testsMotiejus Jakštys1+37-0
2026-02-10 18:10parser: port zig fmt on/off, defer, block slice testsMotiejus Jakštys2+96-2
2026-02-10 18:04parser: port fn param and container initializer testsMotiejus Jakštys2+78-1
2026-02-10 18:01parser: port misc formatting tests batchMotiejus Jakštys2+151-1
2026-02-10 17:42parser: port threadlocal, linksection, addrspace testsMotiejus Jakštys2+57-12
2026-02-10 17:40parser: port pointer modifier testsMotiejus Jakštys2+222-58
2026-02-10 17:24parser: port array/slice literal and pointer type testsMotiejus Jakštys1+47-0
2026-02-10 17:15parser: port test "sentinel-terminated array type"Motiejus Jakštys1+9-0
2026-02-10 15:06parser: port test "sentinel-terminated slice type"Motiejus Jakštys1+9-0
2026-02-10 15:05parser: port test "c pointer type"Motiejus Jakštys2+72-3
2026-02-10 14:45parser: port test "nosuspend block"Motiejus Jakštys2+20-0
2026-02-10 14:44parser: port test "errdefer with payload"Motiejus Jakštys2+148-30
2026-02-10 14:37parser: port test "top-level bare asterisk+asterisk+identifier"Motiejus Jakštys2+26-4
2026-02-10 14:36parser: port test "top-level bare asterisk+identifier"Motiejus Jakštys1+7-0
2026-02-10 14:36parser: port test "top-level tuple function call type"Motiejus Jakštys1+7-0
2026-02-10 14:05parser: add multiline string, fn call, struct, if-else testsMotiejus Jakštys2+136-3
2026-02-10 13:13parser: add if expression and statement testsMotiejus Jakštys2+132-5
2026-02-10 13:09parser: add infix, fn trailing comma, enum, struct literal testsMotiejus Jakštys1+98-0
2026-02-10 13:08parser: add zig fmt on/off and slice operator testsMotiejus Jakštys2+64-6
2026-02-10 13:07parser: add fn params, return, call args, enum literal testsMotiejus Jakštys2+225-27
2026-02-10 13:03parser: add enum, union, literal, struct doc comment testsMotiejus Jakštys2+120-3
2026-02-10 13:02parser: add slicing and tagged union testsMotiejus Jakštys2+89-3
2026-02-10 12:59parser: add struct/array literal tests (2/3 element variants)Motiejus Jakštys1+180-0
2026-02-10 12:58parser: add struct/array init literal testsMotiejus Jakštys2+318-4
2026-02-10 12:28parser: add block, break, grouped expression, array type testsMotiejus Jakštys2+62-3
2026-02-10 12:25parser: add container declaration and test decl testsMotiejus Jakštys2+203-4
2026-02-10 12:23parser: add multiline string, empty file, field, container testsMotiejus Jakštys1+86-1
2026-02-10 12:21parser: add function, comptime, var declaration testsMotiejus Jakštys2+108-7
2026-02-10 12:18parser: add struct field value declaration testMotiejus Jakštys2+97-9
2026-02-10 12:14parser: add tuple struct test and container decl supportMotiejus Jakštys2+267-26
2026-02-10 14:26`zig build` does more and in parallelMotiejus Jakštys2+69-43
2026-02-11 14:32update licenseMotiejus Jakštys1+20-0
2026-02-10 11:35fix tccMotiejus Jakštys6+21-5
2026-02-10 10:47zig build -Dcc=tccMotiejus Jakštys3+60-35
2026-02-10 10:36zig build lint fmtMotiejus Jakštys2+2-2
2026-02-10 10:03zig 0.15.1Motiejus Jakštys8+332-38
2025-07-01 19:48add some notesMotiejus Jakštys1+5-0
2025-04-24 20:32fmtMotiejus Jakštys1+3-2
2025-04-24 20:31fix listToSpanMotiejus Jakštys1+1-1
2025-04-24 19:27trying to fix infinite loopMotiejus Jakštys1+8-1
2025-04-24 19:27fix assertion failureMotiejus Jakštys1+2-2
2025-04-20 20:32add licenseMotiejus Jakštys2+21-1
2025-04-13 19:19bump to zig 0.14Motiejus Jakštys2+25-21
2025-02-05 16:29more parserMotiejus Jakštys2+109-10
2025-01-09 06:27more parserMotiejus Jakštys1+253-14
2025-01-08 18:04fmtMotiejus Jakštys6+170-127
2025-01-08 17:35beginning of parseVarDeclProtoMotiejus Jakštys2+103-10
2025-01-07 21:22No types, no fucking types. Just bugsMotiejus Jakštys6+68-49
2025-01-03 17:23start with parser testsMotiejus Jakštys6+488-366
2025-01-01 21:09fix memleak; initialization boilerplateMotiejus Jakštys4+239-21
2024-12-31 17:14more parserMotiejus Jakštys4+136-126
2024-12-30 20:38replace TOKENIZER_TAG_ with TOKEN_Motiejus Jakštys5+511-511
2024-12-30 20:36a few bugfixes and a new TODOMotiejus Jakštys2+73-60
2024-12-29 23:33fix filenameMotiejus Jakštys2+1-1
2024-12-29 23:05More parser — lint+tests pass againMotiejus Jakštys10+299-59
2024-12-27 10:34making tcc happierMotiejus Jakštys10+415-273
2024-12-25 21:44adding more parser — starts breaking the buildMotiejus Jakštys5+292-10
2024-12-23 19:52more macrosMotiejus Jakštys7+61-20
2024-12-22 22:11more fieldsMotiejus Jakštys1+75-0
2024-12-22 20:40macrosMotiejus Jakštys7+247-199
2024-12-22 20:31rename typesMotiejus Jakštys10+112-127
2024-12-19 22:00making parserMotiejus Jakštys8+427-218
2024-12-19 18:13allo system compilerMotiejus Jakštys1+47-26
2024-12-18 20:34linters, some ast headersMotiejus Jakštys8+184-48
2024-12-14 22:04start ast + fix type names in tokenizerMotiejus Jakštys6+1135-587
2024-12-13 07:39TokenizerMotiejus Jakštys9+2209-0