CLI: add 'run' command to the repl
3791cd6781 • Andrew Kelley • May 6, 2021
std.ArrayHashMap: ensureUnusedCapacity and ensureTotalCapacity
426e4c784c • Andrew Kelley • May 6, 2021
stage2: fix contents hash computation
17067e0e6b • Andrew Kelley • May 6, 2021
stage2: mapping old to new ZIR recursively
9b1aac8a65 • Andrew Kelley • May 5, 2021
std.ArrayList: add clearRetainingCapacity and clearAndFree
c714a3250f • Andrew Kelley • May 5, 2021
stage2: add `zig changelist` debug command
5d7f2697de • Andrew Kelley • May 5, 2021
std: fix compile errors found by stage2
6b5d0b3711 • Andrew Kelley • May 5, 2021
Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen
fc40d23723 • Andrew Kelley • May 5, 2021
Sema: restore the extern lib name functionality
7a27f0d80c • Andrew Kelley • May 4, 2021
stage2: test coverage for inline asm return type not type
1f0fd64302 • Andrew Kelley • May 4, 2021
Sema: implement error sets
edfbf85ecd • Andrew Kelley • May 4, 2021
stage2: fix "other symbol here" error note
230ce72f16 • Andrew Kelley • May 4, 2021
stage2: fix structs and enums setting wrong owner_decl
3dafec0acd • Andrew Kelley • May 4, 2021
build.zig: add -Dmem-leak-frames option
2910b10033 • Andrew Kelley • May 4, 2021
Sema: implement ExportOptions support in `@export`
2ae72c6f09 • Andrew Kelley • May 4, 2021
ZIR: typeof uses the un_node field not un_tok
69d18ad7f0 • Andrew Kelley • May 4, 2021
Sema: implement struct_decl instruction
95b014caea • Andrew Kelley • May 4, 2021
ZIR: implement debug text printing for struct_init and friends
aa4e9399db • Andrew Kelley • May 3, 2021
stage2: hook up semantic analysis of struct fields
773902e9de • Andrew Kelley • May 3, 2021
stage2: make struct field analysis lazy
807a8b6f75 • Andrew Kelley • May 3, 2021
AstGen: fix outdated doc comment
5f4c52209e • Andrew Kelley • May 3, 2021
AstGen: decouple from Module/Compilation
a973c362e5 • Andrew Kelley • May 3, 2021
stage2: fix error reporting not loading AST
d5f77c0bab • Andrew Kelley • May 2, 2021
stage2: test decls encode that they are tests in ZIR
0611aa3985 • Andrew Kelley • May 2, 2021
Sema: fix struct decl decoding ZIR incorrectly
4dd724d06a • Andrew Kelley • May 2, 2021
stage2: dbg_stmt ZIR instructions have line/col
eadcefc124 • Andrew Kelley • May 2, 2021
std.GeneralPurposeAllocator: print leaked memory addresses
6248e2a560 • Andrew Kelley • May 2, 2021
Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen
dc28f5c3ec • Andrew Kelley • May 1, 2021
stage2: implement function body analysis
351b57497b • Andrew Kelley • May 1, 2021
stage2: introduce new ZIR instruction: arg
077b8d3def • Andrew Kelley • May 1, 2021
Sema: implement function declarations
db7acd83d2 • Andrew Kelley • Apr 30, 2021
start.zig: unconditionally import the root source file
fb95fd8443 • Andrew Kelley • Apr 30, 2021
stage2: un-tangle memory management of Decl and Namespace
2d8d681b5e • Andrew Kelley • Apr 30, 2021
stage2: fix File incorrectly freeing its Namespace
5d696b0706 • Andrew Kelley • Apr 30, 2021
stage2: properly free Decl name
8ab4a003c8 • Andrew Kelley • Apr 30, 2021
std: fix compile errors found by stage2 AstGen
474ade88b5 • Andrew Kelley • Apr 30, 2021
AstGen: represent global variables directly
8944240aec • Andrew Kelley • Apr 30, 2021
AstGen: implement extern variables
86d564eed8 • Andrew Kelley • Apr 30, 2021
AstGen: implement function prototypes with alignment exprs
ba9b9cb38d • Andrew Kelley • Apr 30, 2021
AstGen: fix comptime compile error source location
2eef83e85f • Andrew Kelley • Apr 30, 2021
Sema: rename TZIR to AIR
47585cbe12 • Andrew Kelley • Apr 30, 2021
Sema: skip analysis of empty enum blocks
478dac5346 • Andrew Kelley • Apr 30, 2021
AstGen: implement anytype struct fields
9e49a65e1b • Andrew Kelley • Apr 30, 2021
AstGen: implement comptime struct fields
55e86b724a • Andrew Kelley • Apr 29, 2021
std.enums: remove stuff for enums with field aliases
fb4cb430e0 • Andrew Kelley • Apr 29, 2021
move behavior tests from test/stage1/ to test/
4307436b99 • Andrew Kelley • Apr 29, 2021
update behavior tests with respect to new builtin pkg
5a02c938da • Andrew Kelley • Apr 29, 2021
tests: prepare behavior tests for stage2
eb53680bce • Andrew Kelley • Apr 29, 2021
stage2: fix scanDecls not advancing the field bits
d36a31ba75 • Andrew Kelley • Apr 29, 2021
std: remove redundant comptime keyword
c60d8f017e • Andrew Kelley • Apr 29, 2021
stage2: implement semantic analysis for functions and global vars
0c71d2fdc1 • Andrew Kelley • Apr 29, 2021
stage2: prepare for mainining Decl references to ZIR indexes
3462193d30 • Andrew Kelley • Apr 28, 2021
stage2: semaDecl properly analyzes the decl block
f86469bc5e • Andrew Kelley • Apr 28, 2021
Sema: do not analyze test decls when not in test mode
fa6bb4b662 • Andrew Kelley • Apr 28, 2021
stage2: implement #8364
2354cbafdb • jacob gw • Apr 28, 2021
std: remove redundant `comptime const`
c90e52b74c • Andrew Kelley • Apr 28, 2021
AstGen: hook up hex float parsing to float literals
d3ffacb55c • Andrew Kelley • Apr 28, 2021
AstGen: function prototypes can have alignment
9db5b2c5c6 • Andrew Kelley • Apr 28, 2021
Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen
df24ce52b1 • Andrew Kelley • Apr 28, 2021
AstGen: fix function src hash not including body
eb9c29eb81 • Andrew Kelley • Apr 28, 2021
link: fix compile error from previous commit
3d9e4edb57 • Andrew Kelley • Apr 27, 2021
stage2: rewire the frontend driver to whole-file-zir
bfded492f0 • Andrew Kelley • Apr 27, 2021
AstGen: improved handling of declarations
91c317bb9a • Andrew Kelley • Apr 27, 2021
AstGen: implement opaque decls
646eb1fa93 • Andrew Kelley • Apr 26, 2021
stage2: pre-open ZIR cache dir handles
56226449d2 • Andrew Kelley • Apr 25, 2021
stage2: implement caching for ZIR code
015cd79f89 • Andrew Kelley • Apr 25, 2021
AstGen: implement `@Vector`
ff2ec0dc5a • Andrew Kelley • Apr 25, 2021
stage2: move overflow builtin ZIR instructions to Extended
e018e64a53 • Andrew Kelley • Apr 25, 2021
AstGen: parser ensures all suspend have blocks
15e891823e • Andrew Kelley • Apr 24, 2021
AstGen: implement await and resume
1592206965 • Andrew Kelley • Apr 24, 2021
Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen
e86cee258c • Andrew Kelley • Apr 24, 2021
stage2: better error reporting for LazySrcLoc.entire_file
224fbb23c4 • Andrew Kelley • Apr 24, 2021
AstGen: support struct init with ref result location
27fa4bc2be • Andrew Kelley • Apr 24, 2021
stage2: remove call_none and call_none_chkused ZIR
d2b06c2612 • Andrew Kelley • Apr 24, 2021
stage2: remove dead ZIR instructions
6b98384e20 • Andrew Kelley • Apr 24, 2021
AstGen: emit nosuspend function calls
fbfae832ea • Andrew Kelley • Apr 24, 2021
AstGen: implement nosuspend expressions
49be88859d • Andrew Kelley • Apr 24, 2021
AstGen: implement suspend blocks
9a271347fe • Andrew Kelley • Apr 24, 2021
stage2: implement `anyframe`, `anyframe->T` and fix assembly
b40a8efb9a • Andrew Kelley • Apr 24, 2021
AstGen: compile error for unable to infer array size
183ee0965f • Andrew Kelley • Apr 23, 2021
std: remove `comptime const`
0262dda9b8 • Andrew Kelley • Apr 23, 2021
AstGen: implement integers bigger than u64
715abe8ebe • Andrew Kelley • Apr 23, 2021
stage2: write out builtin.zig before spawning AstGen tasks
2d290d6f82 • Andrew Kelley • Apr 23, 2021
ZIR: fix text printing of field_ptr_type
a830ebe718 • Andrew Kelley • Apr 23, 2021
stage2: fix builtin.zig for `zig test`
8df4bb7c96 • Andrew Kelley • Apr 23, 2021
std: fix potential bug in parseInt
ce41ddcd23 • jacob gw • Apr 23, 2021
std: fix compile errors caught by stage2 AstGen
93d1c2d6d4 • Andrew Kelley • Apr 23, 2021
delete packed enums from the language
8dd7378013 • Andrew Kelley • Apr 23, 2021
AstGen: implement align and linksection on globals
329a359974 • Andrew Kelley • Apr 23, 2021
std: fix compile errors caught by stage2 AstGen
507a8096d2 • Andrew Kelley • Apr 23, 2021
AstGen: implement `@extern` builtin
7c453b91b8 • Andrew Kelley • Apr 22, 2021
AstGen: fix `@export`
3d637e6dd2 • Andrew Kelley • Apr 22, 2021
AstGen: implement function prototypes
130ad08001 • Andrew Kelley • Apr 22, 2021
AstGen: implement alignment on locals
389020009a • Andrew Kelley • Apr 22, 2021
AstGen: implement comptime locals
ea00ddfe37 • Andrew Kelley • Apr 22, 2021
AstGen: fix switch result location elision
8ee0cbe50a • Andrew Kelley • Apr 22, 2021
AstGen: implement `@bitCast` for other result location types
570ed7b3bf • Andrew Kelley • Apr 22, 2021
AstGen: fix `@floatCast` having wrong arity
4cfea2fbd5 • Andrew Kelley • Apr 22, 2021
AstGen: slightly better eager-allocating heuristic
d10ec6e70d • Andrew Kelley • Apr 21, 2021
AstGen: implement union decls
a1ac2b95bb • Andrew Kelley • Apr 21, 2021