Commits

translate-c: ensure failed macros don't get defined multiple times

3aba1fa04f • Veikka Tuominen • Feb 18, 2021

translate-c: small miscellaneous improvements

df5a8120df • Veikka Tuominen • Feb 18, 2021

translate-c: improve switch translation

7ca53bdfaa • Veikka Tuominen • Feb 17, 2021

translate-c: Add test for using correct block label for StmtExpr

3717bedb4e • Evan Haas • Feb 17, 2021

translate-c: support scoped typedef, enum and record decls

d5fecbd0ba • Veikka Tuominen • Feb 17, 2021

translate-c: demote untranslatable declarations to externs

e2974759dd • Veikka Tuominen • Feb 17, 2021

translate-c: elide some unecessary casts of literals

9a826ccbe0 • Veikka Tuominen • Feb 16, 2021

translate-c: get all translate-c tests passing

74e9d4ca82 • Veikka Tuominen • Feb 16, 2021

translate-c: get all run-translated-c tests passing

78fba4e021 • Veikka Tuominen • Feb 16, 2021

translate-c: render records and enums

77a11e6873 • Veikka Tuominen • Feb 16, 2021

translate-c: render array stuff

c0540967e9 • Veikka Tuominen • Feb 16, 2021

translate-c: render control flow

62162a0717 • Veikka Tuominen • Feb 16, 2021

translate-c: render macro functions, use cast type as return type

c4dfabf4dc • Veikka Tuominen • Feb 16, 2021

translate-c: render functions

f191251ddb • Veikka Tuominen • Feb 16, 2021

translate-c: render binops and break/continue

227f167958 • Veikka Tuominen • Feb 16, 2021

translate-c: render unary ops

685778c5a7 • Veikka Tuominen • Feb 16, 2021

translate-c: render variables and builtin calls

1147ecc5fd • Veikka Tuominen • Feb 16, 2021

translate-c: render a bunch of simple nodes and calls

d7460db044 • Veikka Tuominen • Feb 16, 2021

translate-c: begin implementing ast.render

13a9db2085 • Veikka Tuominen • Feb 16, 2021

translate-c: bunch of small fixes to get it compiling

2a74a1ebaa • Veikka Tuominen • Feb 16, 2021

translate-c: convert macro translation

66bbd75a83 • Veikka Tuominen • Feb 16, 2021

translate-c: convert assignment and conditional exprs

c30c2f7c13 • Veikka Tuominen • Feb 16, 2021

translate-c: convert field/array access, call, pre/postcrement

450b718b9e • Veikka Tuominen • Feb 16, 2021

translate-c: convert switch

cadd4483be • Veikka Tuominen • Feb 16, 2021

translate-c: convert most control flow

66dd64ec15 • Veikka Tuominen • Feb 16, 2021

translate-c: convert casts and string/array init

d8b9fca0b1 • Veikka Tuominen • Feb 16, 2021

translate-c: convert record and enum decls

5dac3683c9 • Veikka Tuominen • Feb 16, 2021

translate-c: convert vardecl and typedef

bb867b071a • Veikka Tuominen • Feb 16, 2021

translate-c: convert function translation

f36849fed2 • Veikka Tuominen • Feb 16, 2021

translate-c: unary operator, integers and misc

7514c0ad0d • Veikka Tuominen • Feb 16, 2021

translate-c: more binaryoperator chagnes, blocks and unary type expressions

f5041caa2e • Veikka Tuominen • Feb 16, 2021

translate-c: convert transBinaryOperator

4c0c9b0755 • Veikka Tuominen • Feb 16, 2021

translate-c: make Node more like Type

d835f5cce5 • Veikka Tuominen • Feb 16, 2021

translate-c: translate C types to stage2 types

6ecec4c8b7 • Veikka Tuominen • Feb 16, 2021

translate-c: start creating intermediate AST

7051ef32bf • Veikka Tuominen • 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

zig fmt: implement container decls

16a2562c3f • Andrew Kelley • Feb 5, 2021

std.MultiArrayList: use `@memset` builtin for undefined

cf42ae178d • Andrew Kelley • Feb 5, 2021

zig fmt: array types

0f3fa4d654 • Isaac Freund • Feb 5, 2021

zig fmt: struct and anon array initialization

6f3b93e2e8 • Isaac Freund • Feb 5, 2021

zig fmt: float literal with exponent

3e960cfffe • Isaac Freund • Feb 5, 2021

std.MultiArrayList: implement review comments

0b4bb9b84f • Isaac Freund • Feb 5, 2021

zig fmt: implement struct init

7069459a76 • Andrew Kelley • Feb 5, 2021

zig fmt: implement fn protos and defers

8e46d06650 • Andrew Kelley • Feb 4, 2021

zig fmt: deref, unwrap optional

4428acf0f7 • Asherah Connor • Feb 4, 2021

zig fmt: builtin calls and array access

725adf8332 • Andrew Kelley • Feb 4, 2021

zig fmt: implement top-level fields

f5279cbada • Andrew Kelley • Feb 4, 2021

zig fmt: implement if, call, field access, assignment

1a83b29bea • Andrew Kelley • Feb 3, 2021

zig fmt: implement simple test with doc comments

0c6b98b825 • Andrew Kelley • Feb 2, 2021

zig fmt: implement "line comment followed by top-level comptime"

272a0ab359 • Andrew Kelley • Feb 2, 2021

zig fmt: start reworking with new memory layout

20554d32c0 • Andrew Kelley • Feb 2, 2021

stage2: tokenizer does not emit line comments anymore

bf8fafc37d • Andrew Kelley • Feb 1, 2021

stage2: rework AST memory layout

4dca99d3f6 • Andrew Kelley • Jan 31, 2021

std.GeneralPurposeAllocator: logging improvements

766b315b38 • Andrew Kelley • Jan 31, 2021

add std.MultiArrayList

0808d98e10 • Andrew Kelley • Jan 31, 2021

Add MAX_RW_COUNT limit to std.os.pread()

881ecdc72f • Joran Dirk Greef • Jan 25, 2021

Fix f128 NaN check on big-endian hosts

09450419d3 • Koakuma • Jan 25, 2021