Commits

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

zig fmt: remove dead code

9d87e6aeb8 • Andrew Kelley • Feb 10, 2021

zig fmt: anytype, fn calls with one param, trailing commas

36eee7bc6c • Andrew Kelley • Feb 10, 2021

zig fmt: grouped expressions

25bcf4eb99 • Andrew Kelley • Feb 10, 2021

zig fmt: suspend blocks

7295d4b807 • Andrew Kelley • Feb 10, 2021

zig fmt: usingnamespace

ebf04c56e1 • Andrew Kelley • Feb 10, 2021

zig fmt: for loops

39acc4c020 • Andrew Kelley • Feb 10, 2021

zig fmt: while loops

1c79eea125 • Andrew Kelley • Feb 10, 2021

zig fmt: fn protos and anytype

bcafc51e58 • Andrew Kelley • Feb 9, 2021

zig fmt: asm expressions

b1d8a0a5a6 • Andrew Kelley • Feb 9, 2021

zig fmt: implement switches

d869133a9f • Isaac Freund • Feb 8, 2021

zig fmt: fix block lbrace indent

837cd748a8 • Isaac Freund • Feb 8, 2021

zig fmt: implement break

aaf13a2bb3 • Isaac Freund • Feb 8, 2021

std/zig/ast: fix Tree.lastToken() for blocks

57cec38e61 • Isaac Freund • Feb 7, 2021

zig fmt: split Slice and SliceSentinel

0e38362d24 • Isaac Freund • Feb 7, 2021

zig fmt: implement error set decls

1d71b19c0d • Isaac Freund • Feb 7, 2021

zig fmt: implement catch and return

bb7b5ee2ac • Isaac Freund • Feb 7, 2021

zig fmt: implement slices

0929fcbc34 • Isaac Freund • Feb 7, 2021

zig fmt: implement pointer types

33915cb1ed • Isaac Freund • Feb 7, 2021

zig fmt: builtin call with trailing comma

d898945786 • Andrew Kelley • Feb 6, 2021

zig fmt: trailing comma in fn parameter list

409ca88829 • Andrew Kelley • Feb 6, 2021