Commits
add comptime eval for some uint comparisons with 0
3103355805 • Andrew Kelley • Mar 26, 2017
organize std and make import relative to current file
5bc9feb5cb • Andrew Kelley • Mar 26, 2017
replace "&&" and "||" with "and" and "or"
7ce753a16b • Andrew Kelley • Mar 26, 2017
new unreachable syntax
451ce09067 • Andrew Kelley • Mar 26, 2017
add comptime top level declaration
22e6bfca96 • Andrew Kelley • Mar 26, 2017
add test for implicit conversion from array to mutable slice
9ae426a06b • Andrew Kelley • Mar 26, 2017
introduce copyable concept
7c53230a61 • Andrew Kelley • Mar 26, 2017
use intel dialect for inline assembly
5c04730534 • Andrew Kelley • Mar 23, 2017
don't mangle symbols with underscores
fd634f3db3 • Andrew Kelley • Mar 23, 2017
improvements for windows and libc integration
d6856859d3 • Andrew Kelley • Mar 23, 2017
on Darwin/MacOS/iOS, add c to link libs implicitly
01b2bf4a44 • Andrew Kelley • Mar 22, 2017
unify main entry point regardless of whether linking libc
87bc97daef • Andrew Kelley • Mar 22, 2017
fix test regression regarding shadowing names
e1c47d6fe8 • Andrew Kelley • Mar 20, 2017
lazy analysis of top level declarations
fa7c64ccd5 • Andrew Kelley • Mar 18, 2017
introduce new test syntax
af536ac343 • Andrew Kelley • Mar 16, 2017
Merge branch 'master' into lld
329457bb4f • Andrew Kelley • Mar 15, 2017
add --each-lib-rpath option and corresponding config option
7efa2cd81c • Andrew Kelley • Mar 13, 2017
use lld instead of system linker
d10bbd28e9 • Andrew Kelley • Mar 13, 2017
types with zero bits do not have a pointer handle
7bc0145b80 • Andrew Kelley • Mar 10, 2017
codegen nullable void the same way as bool
434f017aee • Andrew Kelley • Mar 10, 2017
add default value for macosx version min when compiling natively
c78dc5043b • Andrew Kelley • Mar 10, 2017
fix not allocating enough memory for passing args
c91dbdb27c • Andrew Kelley • Mar 10, 2017
update to llvm 4.0
cd31f875a6 • Andrew Kelley • Mar 10, 2017
break off some of std.io into std.fmt, generalize printf
47f267d25f • Andrew Kelley • Mar 10, 2017
support passing var args directly
c62db5721c • Andrew Kelley • Mar 9, 2017
fix a case of invalid ptr const-ness
558ae2f21a • Andrew Kelley • Mar 8, 2017
fix assertion error, trying to dereference to array
ddd9624e2d • Andrew Kelley • Mar 8, 2017
add basic emacs syntax file
eb9f1e2d53 • Andrew Kelley • Mar 3, 2017
remove zeroes from vim syntax file
b78752e2d2 • Andrew Kelley • Mar 3, 2017
Merge pull request #269 from Jmeggesto/master
0b942f5ee2 • Andrew Kelley • Mar 3, 2017
add compile error for assigning number literal to non-comptime var
6d0afc2bd2 • Andrew Kelley • Mar 2, 2017
fix assertion failure for some switch errors
03b6d9f547 • Andrew Kelley • Feb 28, 2017
rename CBuf to Buffer0 and some minor std API changes
9eb29e81f9 • Andrew Kelley • Feb 28, 2017
fix inability to write to global in some cases
1195994880 • Andrew Kelley • Feb 27, 2017
more robust const struct values
25761570f1 • Andrew Kelley • Feb 27, 2017
add passing test for floating point edge case
8dd0b4e1f1 • Andrew Kelley • Feb 26, 2017
fix examples
0ac1934ad6 • Andrew Kelley • Feb 26, 2017
README: more robust suggested configuration command
c36b0fec8e • Andrew Kelley • Feb 24, 2017
unwrap error payload instruction has side effects only if safety check on
889bed13c3 • Andrew Kelley • Feb 24, 2017
fix unwrap error payload not emitting debug safety
cd992b89d2 • Andrew Kelley • Feb 24, 2017
add compile error for ignoring return value
a665872e88 • Andrew Kelley • Feb 24, 2017
add compile error for control flow using comptime var at runtime
3b40aaa01f • Andrew Kelley • Feb 24, 2017
add character format specifier to std.io.OutStream.printf
4b99f5978f • Andrew Kelley • Feb 23, 2017
fix use decls not always working
3075d8aee7 • Andrew Kelley • Feb 23, 2017
update std code for MacOS
fe3063e58c • Andrew Kelley • Feb 23, 2017
fix wrong format specifier
b1ace32f23 • Andrew Kelley • Feb 22, 2017
fix regression with bit fields that align properly
786677f80c • Andrew Kelley • Feb 22, 2017
bitfields support for array of non-store-aligned packed structs
d794549985 • Andrew Kelley • Feb 22, 2017
correct size of types for packed structs
cf5108f222 • Andrew Kelley • Feb 21, 2017
more robust detection of types that failed to resolve
4709fe1176 • Andrew Kelley • Feb 21, 2017
fix assertion failure when first use of a struct is sizeOf
c4ee37f506 • Andrew Kelley • Feb 18, 2017
pointers with bit offset contain length
0148f39df9 • Andrew Kelley • Feb 17, 2017
ability to write to bit fields
244362fed7 • Andrew Kelley • Feb 16, 2017
support arithmetic for non byte aligned integer types
b6e7a0dadd • Andrew Kelley • Feb 16, 2017
reading from a bit field partially works
fc5d47b9b9 • Andrew Kelley • Feb 16, 2017
move volatile pointers to central type table
4b5cc80f66 • Andrew Kelley • Feb 16, 2017
move int and array types to central table
4a957b9ea3 • Andrew Kelley • Feb 16, 2017
ability to declare const bitfields
1fc2082b4c • Andrew Kelley • Feb 15, 2017
add runtime debug safety for dividing integer min value by -1
63d37b7cff • Andrew Kelley • Feb 14, 2017
fix crash when return value is ??void
0931b85bd0 • Andrew Kelley • Feb 12, 2017
fix tokenization assertion failure on some float numbers
79ec5a0287 • Andrew Kelley • Feb 12, 2017
printf: only include + sign on signed ints if width specified
b61f1a9f7d • Andrew Kelley • Feb 12, 2017
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