Commits
build.zig: expose a strip option
c79ee1fc8d • Andrew Kelley • Feb 24, 2021
Merge remote-tracking branch 'origin/master' into ast-memory-layout
8e6c2b7a47 • Andrew Kelley • Feb 24, 2021
MultiArrayList: use @memcpy as a workaround
38441b5eab • Andrew Kelley • Feb 24, 2021
zig fmt: rework single statement if/while/for indentation
52c45bf44d • Isaac Freund • Feb 24, 2021
zig fmt: fix comment indent after multiline single statement if/while/for
371b21bdfb • Isaac Freund • Feb 24, 2021
zig fmt: handle comments in switch case value list
15c7c6ab97 • Isaac Freund • Feb 24, 2021
zig fmt: fix firstToken() for switch_case
1b8eca030e • Isaac Freund • Feb 24, 2021
zig fmt: respect extra newline between fn and pub usingnamespace
db4c15be50 • Andrew Kelley • Feb 24, 2021
std.MultiArrayList: add workaround for LLVM bug
bf642204b3 • Andrew Kelley • Feb 24, 2021
zig fmt: add 3 more disabled failing test cases
05f304807f • Andrew Kelley • Feb 24, 2021
zig fmt: for loop with ptr payload and index
4420fe97be • Andrew Kelley • Feb 24, 2021
zig fmt: fn proto end with anytype and comma
988f1c6a6f • Andrew Kelley • Feb 24, 2021
zig fmt: fix inline assembly test cases
08107a555e • Andrew Kelley • Feb 24, 2021
zig fmt: multiline string literals + array init
bb89c619ed • Andrew Kelley • Feb 24, 2021
zig fmt: fn call with comments and multiline strings
6f4a1bafcf • Andrew Kelley • Feb 23, 2021
zig fmt: comments/line breaks in field access chain
4ee368c4b3 • Isaac Freund • Feb 23, 2021
zig fmt now intentionally respects all empty line comments
ca9259340d • Andrew Kelley • Feb 23, 2021
translate-c: fix using wrong slice and AST tag
f041425e48 • Andrew Kelley • Feb 23, 2021
translate-c: update to latest AST tag changes
01e89c9171 • Andrew Kelley • Feb 23, 2021
zig fmt: handle comments in array type/init/access
b028a92a60 • Isaac Freund • Feb 23, 2021
zig fmt: enable array init trailing comment insertion test
abfe213830 • Isaac Freund • Feb 23, 2021
zig fmt: remove stray std.debug.print()
6b9f19a644 • Isaac Freund • Feb 23, 2021
zig fmt: insert trailing comma in struct init with comment
0f24b61ed5 • Isaac Freund • Feb 23, 2021
zig fmt: insert trailing comma in fn params with comment
5820bd0e64 • Isaac Freund • Feb 23, 2021
zig fmt: container doc comments
5306b1a9ab • Isaac Freund • Feb 23, 2021
fix formatting in translate-c test case
1f62e87031 • Veikka Tuominen • Feb 23, 2021
zig fmt: array literal with hint
1e3a200ba6 • Andrew Kelley • Feb 23, 2021
zig fmt: struct literal containing a multiline expression
1253903fef • Andrew Kelley • Feb 23, 2021
zig fmt: alignment in anonymous literal
8379fff804 • Andrew Kelley • Feb 23, 2021
zig fmt: function params should align nicely
a6038f0375 • Andrew Kelley • Feb 23, 2021
zig fmt: while
fec51ad7c5 • Andrew Kelley • Feb 23, 2021
zig fmt: if condition has line break, no fn call comma
20cfa0b5b6 • Andrew Kelley • Feb 23, 2021
zig fmt: if condition has line break but must not wrap
ec987a7a46 • Andrew Kelley • Feb 22, 2021
zig fmt: if condition wraps
b301999cd3 • Andrew Kelley • Feb 22, 2021
zig fmt: 2nd arg multiline string
253906fb93 • Andrew Kelley • Feb 22, 2021
zig fmt: fix firstToken() for extern fn_protos
45634851de • Isaac Freund • Feb 22, 2021
zig fmt: insert trailing comma in switches
550688f427 • Isaac Freund • Feb 22, 2021
update docgen to use new ast
4758e0c9a6 • Veikka Tuominen • Feb 22, 2021
translate-c: check for noreturn in switch in more cases
d83698ab54 • Veikka Tuominen • Feb 22, 2021
zig fmt: fix comments ending with EOF after decls
f3ee10b454 • Isaac Freund • Feb 22, 2021
translate-c: switch default should have an empty block not break
011bc1b84f • Veikka Tuominen • Feb 22, 2021
parser: anytype is not a vaild return type
ce9b3ee0f9 • Isaac Freund • Feb 22, 2021
zig fmt: fix formatting of parser tests
34c08a91d5 • Isaac Freund • Feb 22, 2021
zig fmt: correct Node.firstToken for .fn_decl, add error for missing container
928790364a • Veikka Tuominen • Feb 22, 2021
render: handle comments ending in EOF
69d5a106da • Veikka Tuominen • Feb 22, 2021
parser: warn on missing for loop payload, recover from invalid global error set access
67dac2936c • Veikka Tuominen • Feb 22, 2021
zig fmt: if nested
621ad241d6 • Andrew Kelley • Feb 22, 2021
translate-c: fix fn_decl vs fn_proto
a17a5ca3a8 • Andrew Kelley • Feb 22, 2021
zig fmt: rewrite inline functions as callconv(.Inline)
c6efb23796 • Andrew Kelley • Feb 22, 2021
parser: fix recovery for missing semicolons
878e99d580 • Andrew Kelley • Feb 22, 2021
parser: modify another recovery test case
1247b7b9ef • Andrew Kelley • Feb 22, 2021
parser: remove support for recovering from extra top level end curlies
79f1876367 • Andrew Kelley • Feb 22, 2021
parser: remove support for a recovery test case
2da2123128 • Andrew Kelley • Feb 22, 2021
parser: support more recovery test cases
866f7dc7d6 • Andrew Kelley • Feb 22, 2021
AST: use fn_proto not fn_decl for extern decls
15603f403c • Andrew Kelley • Feb 21, 2021
parse: implement error for invalid bit range and alignment
88d0e77b97 • Andrew Kelley • Feb 21, 2021
translate-c: use global scope for typedef/record/enum type translation if needed
4074e79748 • Veikka Tuominen • Feb 20, 2021
stage2: debug line nops supports bigger padding
669c2054a8 • Andrew Kelley • Feb 20, 2021
stage2: fix a couple off by one errors
ed1e5cb3f6 • Andrew Kelley • Feb 20, 2021
stage2: fix not setting up ZIR arg instruction correctly
5b597a16c6 • Andrew Kelley • Feb 20, 2021
stage2: fix incorrect ast.Tree.getNodeSource impl
d8560edc29 • Andrew Kelley • Feb 20, 2021
stage2: remove incorrect newlines from log statements
70761d7c52 • Andrew Kelley • Feb 20, 2021
stage2: test harness: panic on OOM rather than assert
6959b177ef • Andrew Kelley • Feb 20, 2021
stage2: AST: clean up parse errors
8fee41b1d5 • Andrew Kelley • Feb 20, 2021
readme: update introduction link
74878565e5 • Andrew Kelley • Feb 19, 2021
stage2: make same line doc comments a parse error
95b95ea33e • Isaac Freund • Feb 19, 2021
translate-c: correctly add semicolon to if statements
6f6568b1fd • Veikka Tuominen • Feb 19, 2021
Merge pull request #7479 from ziglang/translate-c-ast
d672c20b8a • Veikka Tuominen • Feb 19, 2021
astgen: fix remaining compile errors
914540ddb5 • Andrew Kelley • Feb 19, 2021
stage2: astgen: fix most of the remaining compile errors
9010bd8aec • Andrew Kelley • Feb 19, 2021
stage2: fix a couple more compilation errors
29daf10639 • Andrew Kelley • Feb 18, 2021
stage2: fix some of the compilation errors in this branch
5a2620fcca • Andrew Kelley • Feb 18, 2021
astgen: finish updating expressions to new mem layout
c66481f9bc • Andrew Kelley • Feb 18, 2021
zig fmt: get rid of Space.no_comment
4b226286e8 • Isaac Freund • Feb 16, 2021
zig fmt: implement 'zig fmt: (on|off)' directives
895fb2bd6d • Isaac Freund • Feb 16, 2021
std: remove io.AutoIndentingStream
070e548acf • Isaac Freund • Feb 16, 2021
astgen: update more expression types to new mem layout
4006a3afb3 • Andrew Kelley • Feb 16, 2021
zig fmt: fix inferred error union return types
bbf5a4d7c5 • Isaac Freund • Feb 15, 2021
astgen: update a handful of expression types to new mem layout
c2b4d51749 • Andrew Kelley • Feb 14, 2021
zig fmt: implement multiline string literals
24798b84ad • Isaac Freund • Feb 14, 2021
zig fmt: remove empty lines at start/end of block
75ba8d8db6 • Isaac Freund • Feb 14, 2021
stage2: more progress towards Module/astgen building with new mem layout
7630a5c566 • Andrew Kelley • Feb 13, 2021
zig fmt: add failing test case for inline/callconv conversion
a9db40e870 • Andrew Kelley • Feb 12, 2021
Merge remote-tracking branch 'origin/master' into ast-memory-layout
b4e344bcf8 • Andrew Kelley • Feb 12, 2021
stage2: start reworking Module/astgen for memory layout changes
3d0f4b9030 • Andrew Kelley • Feb 12, 2021
snake_case render.Space
288e180598 • Veikka Tuominen • Feb 12, 2021
snake_case Node.Tag
bb22490fcc • Veikka Tuominen • Feb 12, 2021
snake_case Token.Tag
e2289961c6 • Veikka Tuominen • Feb 12, 2021
zig fmt: implement line comments
faa3fa65ac • Isaac Freund • Feb 11, 2021
zig fmt: fix Tree.lastToken() for empty *Two nodes
b6448a533d • Isaac Freund • Feb 11, 2021
zig fmt: implement Tree.lastToken() for all nodes
4c8caf3343 • Isaac Freund • Feb 10, 2021
zig fmt: fix 0 element struct and array init
515d4920e7 • Isaac Freund • Feb 10, 2021
zig fmt: implement Tree.lastToken() for struct init
5df7fc36c6 • Isaac Freund • Feb 10, 2021
zig fmt: implement Tree.lastToken() for array init
928f6f48a6 • Isaac Freund • Feb 10, 2021
zig fmt: implement Tree.lastToken() for array types
3110a73486 • Isaac Freund • Feb 10, 2021
zig fmt: fix render of pointers with ** tokens
8c4f3e5a31 • Isaac Freund • Feb 10, 2021
zig fmt: support bodyless function decls
a524e57090 • Isaac Freund • Feb 10, 2021
zig fmt: fix typo in firstToken() for pointer types
80b719d967 • Isaac Freund • Feb 10, 2021
zig fmt: re-enable now-passing test cases
58db3d2775 • Andrew Kelley • Feb 10, 2021
zig fmt: fix regression with many container members
fa5fcdd734 • Andrew Kelley • Feb 10, 2021