Commits

slice and array re-work plus some misc. changes

6dba1f1c8e • Andrew Kelley • Feb 12, 2017

std.io.parseUnsigned buf parameter is const

ca180d3f02 • Andrew Kelley • Feb 11, 2017

fix crash on string literal with character code >= 128

f7173f4f08 • Andrew Kelley • Feb 11, 2017

rework compile-time known pointer values

39287d7346 • Andrew Kelley • Feb 11, 2017

zig logo in readme

12049aa43b • Andrew Kelley • Feb 9, 2017

remove the depends_on_compile_var code

92ffcc84a9 • Andrew Kelley • Feb 9, 2017

lots of miscellaneous things all in one big commit

fc100d7b3b • Andrew Kelley • Feb 9, 2017

std.io supports printing integers as hex values

8a859afd58 • Andrew Kelley • Feb 7, 2017

inline assembly allows clobbers with no input

92793252ad • Andrew Kelley • Feb 7, 2017

variables, memcpy, and memset all get alignment

916a96fb72 • Andrew Kelley • Feb 7, 2017

coldcc works better

573f3f8d48 • Andrew Kelley • Feb 6, 2017

improved behavior on debug safety crash

07a71fc322 • Andrew Kelley • Feb 6, 2017

fix volatile not respected for storing through a struct pointer

28f63b8a4f • Andrew Kelley • Feb 6, 2017

fix assigning to const ptr through struct or index

d26bb3ae2e • Andrew Kelley • Feb 6, 2017

try expression can omit variable assignments

7749ffd797 • Andrew Kelley • Feb 5, 2017

tell LLVM the target sub arch type

b9c943b066 • Andrew Kelley • Feb 5, 2017

use printf in test runner code

0c88b1ce73 • Andrew Kelley • Feb 5, 2017

delete unneeded IR code and fix assigning to const ptr

135c021c83 • Andrew Kelley • Feb 5, 2017

fix volatile not respected for loads

025051885b • Andrew Kelley • Feb 5, 2017

all functions are nounwind because zig does not support exceptions

d151c58788 • Andrew Kelley • Feb 5, 2017

`%=` in inline assembly survives optimization

52eec6b9a6 • Andrew Kelley • Feb 5, 2017

setGlobalSection and setGlobalAlign work for functions

6f316d8ebd • Andrew Kelley • Feb 5, 2017

even external functions which provide definitions get nounwind

d2f1f57fa4 • Andrew Kelley • Feb 5, 2017

infer hard float from target environments that imply it

74d41ce44b • Andrew Kelley • Feb 5, 2017

memset and memcpy implementations need not return dest

e56f903522 • Andrew Kelley • Feb 5, 2017

inline assembly supports `%=` syntax

64a0510205 • Andrew Kelley • Feb 5, 2017

memcpy and memset builtins support volatile pointers

b840184bb0 • Andrew Kelley • Feb 5, 2017

remove volatileStore builtin; add volatile pointers

419e75eb23 • Andrew Kelley • Feb 5, 2017

add compile error when setting non power of 2 alignment

0d7abc6368 • Andrew Kelley • Feb 4, 2017

ability to set global variable alignment and ...

0919ea0afd • Andrew Kelley • Feb 4, 2017

preserve names of exported variables

67b02326f8 • Andrew Kelley • Feb 3, 2017

in freestanding environment, assume gnu binutils

d3f1889951 • Andrew Kelley • Feb 3, 2017

add volatileStore() builtin function

5a86c04996 • Andrew Kelley • Feb 3, 2017

add setGlobalAlign and setGlobalSection builtin functions

8c9016b6d1 • Andrew Kelley • Feb 3, 2017

add ability to set linker script

3be4b6434c • Andrew Kelley • Feb 3, 2017

typedefs work for binary math operations

e00eec1c29 • Andrew Kelley • Feb 3, 2017

exported global variables get emitted as external in LLVM

aae168550f • Andrew Kelley • Feb 3, 2017

implement packed structs

71d335e5cc • Andrew Kelley • Feb 3, 2017

make --target-os freestanding work

cd7713b178 • Andrew Kelley • Feb 3, 2017

update outdated comment

0cf0739b0a • Andrew Kelley • Feb 2, 2017

add try expression

c0b37e8514 • Andrew Kelley • Feb 2, 2017

fix ability to call method on variable at compile time

8b1c6d8b76 • Andrew Kelley • Feb 2, 2017

fix behavior when initializing struct with undefined

2b88441295 • Andrew Kelley • Feb 2, 2017

remove ability to mark if and switch as inline

b78c91951a • Andrew Kelley • Feb 2, 2017

prefix op maybe and error are for types only

cd08c1f3be • Andrew Kelley • Feb 2, 2017

document setDebugSafety builtin function

4df1a9b251 • Andrew Kelley • Feb 1, 2017

fix var args allocating wrong amount of memory in compiler

d13cec6894 • Andrew Kelley • Jan 31, 2017

fix crash when passing void to var args function

88a253c64d • Andrew Kelley • Jan 31, 2017

add integer literal to pointer explicit cast

b258fdb532 • Andrew Kelley • Jan 31, 2017

readme update

eb00aa21f5 • Andrew Kelley • Jan 31, 2017

fix crash when assigning too large value to integer

d8da34c64c • Andrew Kelley • Jan 31, 2017

fix compile time initialization of array with undefined

d2b94afaf2 • Andrew Kelley • Jan 30, 2017

fix sometimes using wrong outer scope for generating defers

3caf6bacdc • Andrew Kelley • Jan 30, 2017

fix behavior for comptime and runtime basic block phi

c75e58ffe6 • Andrew Kelley • Jan 30, 2017

fix runtime branching tricking the comptime evaluation

e0a422ae7e • Andrew Kelley • Jan 26, 2017

update cat example code

34a4d7a201 • Andrew Kelley • Jan 24, 2017

printf var args proof of concept

4b3f18de3c • Andrew Kelley • Jan 24, 2017

various fixes

32d8686da8 • Andrew Kelley • Jan 24, 2017

basic support for functions with variable length arguments

17cb85dfb8 • Andrew Kelley • Jan 23, 2017

update charToDigit to take advantage of switch syntax

1826a96160 • Andrew Kelley • Jan 23, 2017

mem.free no longer requires explicit type argument

0b34439c1f • Andrew Kelley • Jan 23, 2017

remove staticEval builtin in favor of comptime expression

e5b1758010 • Andrew Kelley • Jan 23, 2017

introduce comptime expression

201a3c121a • Andrew Kelley • Jan 23, 2017

use comptime instead of inline for var and params

47cf8520ad • Andrew Kelley • Jan 23, 2017

get rid of zeroes literal

6a5e61acd1 • Andrew Kelley • Jan 16, 2017

add test for compile error returning from defer expression

ab8b14aa9f • Andrew Kelley • Jan 16, 2017

add test for compile time bool not operator

cf3b9f4f5b • Andrew Kelley • Jan 16, 2017

ability to equality compare with null

0caee421e3 • Andrew Kelley • Jan 16, 2017

equality comparison of void types is known at compile time

867686af42 • Andrew Kelley • Jan 16, 2017

implement error when assigning to field of const struct

fdbc2d8da1 • Andrew Kelley • Jan 16, 2017

add test for short-circuit AND and OR assignment

98faf4f749 • Andrew Kelley • Jan 16, 2017

Merge branch 'master' into ir-merge

c715309bc5 • Andrew Kelley • Jan 16, 2017

fix handling of const values for 2d arrays

4cbeb87e83 • Andrew Kelley • Jan 16, 2017

fix array of enums. also render debug info for const vars

c7591736b4 • Andrew Kelley • Jan 16, 2017

fix get_maybe_type not ensuring complete child type

3752e0c290 • Andrew Kelley • Jan 16, 2017

fix llvm assertion failure for zero bits structs

d0b59f20ab • Andrew Kelley • Jan 16, 2017

fix handling of invalid enumeration

0b6cf0aa63 • Andrew Kelley • Jan 16, 2017

fix enum codegen and implement comptime switch var on enums

8106f9846a • Andrew Kelley • Jan 16, 2017

fix some stuff when llvm has assertions on

0c1800a9c9 • Andrew Kelley • Jan 13, 2017

fix some bugs with structs

83f1a6fae2 • Andrew Kelley • Jan 13, 2017

fix crash when casting fn call arg

652bfab3d0 • Andrew Kelley • Jan 12, 2017

fix use decl regression

c793c534b8 • Andrew Kelley • Jan 12, 2017

IR: fix array concatenation

18f248b94d • Andrew Kelley • Jan 12, 2017

IR: implement macro for function aliasing function pointer

d784705353 • Andrew Kelley • Jan 12, 2017

pass some parseh tests

76b1cbc2ea • Andrew Kelley • Jan 12, 2017

pass more tests

25a670d74e • Andrew Kelley • Jan 12, 2017

fix some tests

de9ecaf964 • Andrew Kelley • Jan 11, 2017

better error message for unable to eval const expr

fc53708dc0 • Andrew Kelley • Jan 11, 2017

fix a few tests

7493af5953 • Andrew Kelley • Jan 11, 2017

IR: implement error for missing or extra switch prongs

fde276a3bf • Andrew Kelley • Jan 10, 2017

partially fix parseh command

430e33b869 • Andrew Kelley • Jan 10, 2017

pass division by zero test

8d27a02705 • Andrew Kelley • Jan 9, 2017

pass unnecessary if statement test

6caf32195a • Andrew Kelley • Jan 9, 2017

fix unable to eval const expr test case

76d0e49e61 • Andrew Kelley • Jan 8, 2017

fix some tests

e4bc8d22c2 • Andrew Kelley • Jan 8, 2017

don't try to eval extern functions at compile time

3ef447fa20 • Andrew Kelley • Jan 8, 2017

pass conflicting variable name test

6b36aef306 • Andrew Kelley • Jan 7, 2017

add compile error for initializing struct with non struct type

090ff05054 • Andrew Kelley • Jan 7, 2017

don't mark call instruction as generated

cf62f02ba9 • Andrew Kelley • Jan 6, 2017

pass more tests

23feafdef0 • Andrew Kelley • Jan 6, 2017