aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler/reduce
AgeCommit message (Collapse)Author
2025-08-21zig reduce: adapt to new Writer APIJustus Klausecker
2025-08-11std.ArrayList: make unmanaged the defaultAndrew Kelley
2025-07-07remove `usingnamespace` from the languageAndrew Kelley
closes #20663
2025-07-07remove `async` and `await` keywordsAndrew Kelley
Also remove `@frameSize`, closing #3654. While the other machinery might remain depending on #23446, it is settled that there will not be `async`/ `await` keywords in the language.
2025-03-07std.zig.Ast: store lbrace and rbrace token in data of `.error_set_decl`Techatrix
This makes the `.data` field the better choice over the `.main_token` for this tag.
2025-03-07std.zig.Ast: improve type safetyTechatrix
This commits adds the following distinct integer types to std.zig.Ast: - OptionalTokenIndex - TokenOffset - OptionalTokenOffset - Node.OptionalIndex - Node.Offset - Node.OptionalOffset The `Node.Index` type has also been converted to a distinct type while `TokenIndex` remains unchanged. `Ast.Node.Data` has also been changed to a (untagged) union to provide safety checks.
2025-03-07std.zig.Ast: add `blockStatements` and `builtinCallParams`Techatrix
2024-03-24reduce: fix compile errorsJacob Young
Regressed by c11b6adf13fe5c765ec480af5bad6338e6982a9d.
2024-03-17Ast: fix comptime destructureJacob Young
A preceding `comptime` keyword was being ignored if the first destructure variable was an expression.
2024-02-26move lazily compiled source files to lib/compiler/Andrew Kelley