Commits

Sema: fix else case code generation for switch

08eedc962d • Andrew Kelley • Mar 31, 2021

stage2: clean up RangeSet and fix swapped Sema switch logic for lhs/rhs

abd06d8eab • Andrew Kelley • Mar 31, 2021

Sema: implement switch validation for ranges

e272c29c16 • Andrew Kelley • Mar 31, 2021

AstGen: improve switch expressions

c7b09be8de • Andrew Kelley • Mar 31, 2021

AstGen: switch expressions properly handle result locations

549af582e7 • Andrew Kelley • Mar 31, 2021

stage2: rework AstGen for switch expressions

2a1dd174cd • Andrew Kelley • Mar 31, 2021

Sema: implement switch expressions

195ddab2be • Andrew Kelley • Mar 30, 2021

stage2: guidance on how to implement switch expressions

623d5f442c • Andrew Kelley • Mar 29, 2021

Merge remote-tracking branch 'origin/master' into zir-memory-layout

281a7baaea • Andrew Kelley • Mar 29, 2021

stage2: fix error sets

8f469c1127 • Andrew Kelley • Mar 29, 2021

stage2: implement sema for @errorToInt and @intToError

0005b34637 • jacob gw • Mar 29, 2021

AstGen: pass *GenZir as the first arg, not *Module

f80f8a7a78 • Isaac Freund • Mar 28, 2021

translate-c: fix typo made in prior commit

d5d88087dd • Isaac Freund • Mar 28, 2021

AstGen: scope result location related functions

d123a5ec67 • Isaac Freund • Mar 28, 2021

stage2: rename WipZirCode => AstGen, astgen.zig => AstGen.zig

402f87a213 • Isaac Freund • Mar 28, 2021

stage2: fully implement Type.eql for pointers

68f4eb0f67 • Andrew Kelley • Mar 28, 2021

stage2: enable passing tests

95cc457d97 • Andrew Kelley • Mar 27, 2021

stage2: implement bitwise expr and error literals

1f5617ac07 • Andrew Kelley • Mar 27, 2021

stage2: implement source location: .node_offset_var_decl_ty

da731e18c9 • Andrew Kelley • Mar 27, 2021

astgen: fix continue expressions

a72bfd00cf • Andrew Kelley • Mar 27, 2021

astgen: fix result location for sliced objects

a217ad59c7 • Isaac Freund • Mar 26, 2021

astgen: implement float literals

22338d7816 • Isaac Freund • Mar 26, 2021

astgen: implement more builtin functions

d8ee8794e1 • Isaac Freund • Mar 26, 2021

astgen: implement slicing

5eea13f5cc • Isaac Freund • Mar 26, 2021

stage2: improve source locations of Decl access

b2deaf8027 • Andrew Kelley • Mar 26, 2021

stage2: fix `@compileLog`.

4bfcd105ef • Andrew Kelley • Mar 26, 2021

astgen: fix var decl source locations

4fd3a2e8e8 • Andrew Kelley • Mar 26, 2021

astgen: fix for loop expressions

b9c5a1fdf5 • Andrew Kelley • Mar 26, 2021

astgen: fix array access

399bb2e154 • Andrew Kelley • Mar 25, 2021

stage2: implement inline while

31023de6c4 • Andrew Kelley • Mar 25, 2021

stage2: enable passing tests

12d18a36e5 • Andrew Kelley • Mar 25, 2021

stage2: clean up break / noreturn astgen

01bfd835bb • Andrew Kelley • Mar 25, 2021

stage2: add block test cases llvm backend

ea42ab34ab • Timon Kruiper • Mar 25, 2021

astgen: implement breaking from a block

522707622e • Timon Kruiper • Mar 25, 2021

stage2: cleanups from previous commits

d73a4940e0 • Andrew Kelley • Mar 24, 2021

stage2: add passing optional test case in LLVM backend

3543373fd4 • Timon Kruiper • Mar 24, 2021

astgen: implement orelse

2c99fbb672 • Timon Kruiper • Mar 24, 2021

stage2: fix memory leak when updating a function

0c6581e01d • Andrew Kelley • Mar 24, 2021

stage2: further cleanups regarding zir.Inst.Ref

180dae4196 • Andrew Kelley • Mar 24, 2021

stage2: make zir.Inst.Ref a non-exhaustive enum

0c601965ab • Isaac Freund • Mar 24, 2021

stage2: comment out failing test cases; implement more things

a1afe69395 • Andrew Kelley • Mar 24, 2021

stage2: fix while loops

13ced07f23 • Andrew Kelley • Mar 24, 2021

astgen: fixups regarding var decls and rl_ptr

bf7c3e9355 • Andrew Kelley • Mar 23, 2021

stage2: implement inttype ZIR

be673e6793 • Andrew Kelley • Mar 23, 2021

astgen: finishThenElseBlock: fix putting store_to_block_ptr in wrong block

aa46a705ad • Andrew Kelley • Mar 23, 2021

stage2: fix comptimeExpr and comptime function calls

af73f79490 • Andrew Kelley • Mar 23, 2021

stage2: add helper functions to clean up astgen Ref/Index

866be099f8 • Andrew Kelley • Mar 23, 2021

Sema: use correct LazySrcLoc for resolvePeerTypes

830143905e • Timon Kruiper • Mar 23, 2021

astgen: implement typeof

7194baed66 • Timon Kruiper • Mar 23, 2021

astgen: fix an issue where the alloc wasnt elided

99cf9f8bf1 • Timon Kruiper • Mar 23, 2021

stage2: handle void value in genRet in LLVM backend

982df37135 • Timon Kruiper • Mar 23, 2021

stage2: rename fail to todo in LLVM backend

d73b0473a1 • Timon Kruiper • Mar 23, 2021

stage2: fix two return types to be Ref not Index

668148549a • Isaac Freund • Mar 23, 2021

astgen: implement assign operations

f3e8073e05 • Timon Kruiper • Mar 23, 2021

stage2: fix `if` expressions

d24be85be8 • Andrew Kelley • Mar 23, 2021

astgen: improve the ensure_unused_result elision

568f333681 • Andrew Kelley • Mar 23, 2021

stage2: Sema improvements and boolean logic astgen

2f391df2a7 • Andrew Kelley • Mar 23, 2021

stage2: remove all async related code

9f0b9b8da1 • Isaac Freund • Mar 22, 2021

fix calculation in ensureCapacity

240b15381d • Dimenus • Mar 22, 2021

astgen: implement pointer types

f3770dcc30 • Isaac Freund • Mar 22, 2021

astgen: implement array types

8111453cc1 • Isaac Freund • Mar 22, 2021

cleanups from previous commit

4f3071a817 • Andrew Kelley • Mar 22, 2021

zir-memory-layout: astgen: varDecl

7a55671b89 • jacob gw • Mar 22, 2021

Sema: implement arithmetic

5769c963e0 • Andrew Kelley • Mar 22, 2021

Sema: no explicit coercion needed for inline asm args

07c204393f • Andrew Kelley • Mar 22, 2021

astgen: implement bool_and/bool_or

72bcdb639f • Isaac Freund • Mar 21, 2021

astgen: implement simple binary operators

4cfd5f6a30 • Isaac Freund • Mar 21, 2021

zir: add negate/negate_wrap, implement astgen

310a44d5be • Isaac Freund • Mar 21, 2021

astgen: fix not detecting volatile asm

7800ae05a2 • Andrew Kelley • Mar 21, 2021

stage2: fix memory management of ZIR code

7598a00f34 • Andrew Kelley • Mar 21, 2021

astgen: implement string literals

d8692b8bdb • Andrew Kelley • Mar 21, 2021

astgen: implement inline assembly

8bad5dfa72 • Andrew Kelley • Mar 21, 2021

ZIR: move some un_tok tags to un_node instead

260c610708 • Andrew Kelley • Mar 21, 2021

astgen: implement function calls

50010447bd • Andrew Kelley • Mar 21, 2021

zir-memory-layout: remove all absolute src consts

907142a036 • jacob gw • Mar 20, 2021

zir-memory-layout: astgen: more instructions

12eeb18a26 • jacob gw • Mar 20, 2021

stage2: restructure LLVM backend

a710368054 • Timon Kruiper • Mar 20, 2021

astgen: support blocks

56677f2f2d • Andrew Kelley • Mar 20, 2021

stage2: first pass at repairing ZIR printing

937c43ddf1 • Andrew Kelley • Mar 20, 2021

Sema: allocate inst_map with arena where appropriate

0357cd8653 • Andrew Kelley • Mar 19, 2021

stage2: fix some math oopsies and typos

81a935aef8 • Andrew Kelley • Mar 19, 2021

stage2: fix export source locations not being relative to Decl

132df14ee1 • Andrew Kelley • Mar 19, 2021

zir-memory-layout: astgen: literals and *, &

a4f0ccdfe4 • jacob gw • Mar 19, 2021

llvm backend: use new srcloc

c50397c268 • jacob gw • Mar 19, 2021

zir-memory-layout: astgen: fill in identifier

e9810d9e79 • jacob gw • Mar 19, 2021

stage2: codegen: update asm IR to new names

abdbc11c7e • Andrew Kelley • Mar 19, 2021

stage2: the code is compiling again

bd2154da3d • Andrew Kelley • Mar 19, 2021

stage2: get Module and Sema compiling again

b2682237db • Andrew Kelley • Mar 19, 2021

Merge remote-tracking branch 'origin/master' into zir-memory-layout

f5aca4a6a1 • Andrew Kelley • Mar 18, 2021

stage2: Module and Sema are compiling again

66245ac834 • Andrew Kelley • Mar 18, 2021

stage2: work through some compile errors in Module and Sema

38b3d4b00a • Andrew Kelley • Mar 17, 2021

zir-memory-layout: fix @setEvalBranchQuota

e430f3f7e0 • jacob gw • Mar 16, 2021

stage2: rename zir_sema.zig to Sema.zig

099af0e008 • Andrew Kelley • Mar 16, 2021

stage2: *WIP*: rework ZIR memory layout; overhaul source locations

aef3e534f5 • Andrew Kelley • Mar 16, 2021

std: support optional getaddrinfo arguments

f16f25047c • Anders Conbere • Mar 16, 2021

Add test for multi-line while cont expr with same-line then expr

aa1c780560 • Lewis Gaul • Mar 15, 2021

zig fmt: simplify and improve consistency of if/for/while handling

48efa3bcb6 • Isaac Freund • Mar 15, 2021

zig fmt: fix extra newline before if nested in for

b4db03d8bb • Lewis Gaul • Mar 15, 2021

macho: fix various linker flags

a502c160cd • Michael Dusan • Mar 14, 2021

std: Replace testing fns for floating-point values

27d07c6c4d • LemonBoy • Mar 14, 2021