Commits

Sema: fix `@setEvalBranchQuota` incorrectly requiring a function body

aa0352fad6 • Andrew Kelley • May 8, 2021

AstGen: fix incorrect logic for adding implicit return instruction

b98a753b52 • Andrew Kelley • May 8, 2021

Type: fix abiAlignment calculation for unions

3d351c91d8 • Andrew Kelley • May 8, 2021

Merge remote-tracking branch 'origin/master' into stage2-whole-file-astgen

b6bb0ee1ac • Andrew Kelley • May 8, 2021

stage2: fix struct inits not getting fields resolved

28353b3159 • Andrew Kelley • May 8, 2021

ZIR: implement iteration over switch instructions

73bf53069d • Andrew Kelley • May 8, 2021

std: start code on linux when -lc also expands stack size

6ec24a6502 • Andrew Kelley • May 8, 2021

std: start code increases stack size as appropriate on linux

f69cf93064 • Andrew Kelley • May 8, 2021

stage2: fix stack overflow in `@setEvalBranchQuota` test case

d577654e66 • Andrew Kelley • May 8, 2021

stage2: implement global variables

81d5104e22 • Andrew Kelley • May 8, 2021

stage2: no '$' in anonymous decl names

e7c4d545cd • Andrew Kelley • May 7, 2021

stage2: implement extern functions

6ac2047142 • Andrew Kelley • May 7, 2021

Sema: support enough to check main calling convention via `@typeInfo`

47531b7d93 • Andrew Kelley • May 7, 2021

Sema: implement `@typeInfo` for functions

a7221ef4e9 • Andrew Kelley • May 7, 2021

stage2: CBE tests `pub export` instead of `export` main

3acd98fa34 • Andrew Kelley • May 7, 2021

stage2: fix compile errors in test harness

7dd33d4316 • Andrew Kelley • May 7, 2021

CLI: add an update-and-run cmd and make enter re-run last cmd

9b9ea405ef • Andrew Kelley • May 7, 2021

stage2: wire up outdated/deleted decl detection

cdea22f5d7 • Andrew Kelley • May 7, 2021

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