Andrew Kelley
|
64dddd7afe
|
add compile error for ignoring error
closes #772
|
2019-03-23 19:33:00 -04:00 |
|
Andrew Kelley
|
6769183a9d
|
fix implicit cast error unions with non-optional to optional pointer
and update self hosted compiler for C pointers
See #1059
|
2019-02-14 15:48:28 -05:00 |
|
Jimmi Holst Christensen
|
8139c5a516
|
New Zig formal grammar (#1685)
Reverted #1628 and changed the grammar+parser of the language to not allow certain expr where types are expected
|
2018-11-13 05:08:37 -08:00 |
|
Andrew Kelley
|
2b395d4ede
|
remove @minValue,@maxValue; add std.math.minInt,maxInt
closes #1466
closes #1476
|
2018-10-26 15:01:51 -04:00 |
|
Jimmi Holst Christensen
|
378d3e4403
|
Solve the return type ambiguity (#1628)
Changed container and initializer syntax
* <container> { ... } -> <container> . { ... }
* <exrp> { ... } -> <expr> . { ...}
|
2018-10-15 09:51:15 -04:00 |
|
Andrew Kelley
|
0df485d4dc
|
self-hosted: reorganize creation and destruction of Compilation
|
2018-08-10 12:28:20 -04:00 |
|
Andrew Kelley
|
adefd1a52b
|
self-hosted: function calling another function
|
2018-07-24 20:24:05 -04:00 |
|
Andrew Kelley
|
2ea08561cf
|
self-hosted: function types use table lookup
|
2018-07-24 14:20:49 -04:00 |
|
Andrew Kelley
|
93e78ee722
|
self-hosted can compile libc hello world
|
2018-07-22 23:28:53 -04:00 |
|
Andrew Kelley
|
aa3b41247f
|
self-hosted: linking against libc
also introduce `zig libc` command to display paths
`zig libc file.txt` will parse equivalent text and use that for libc
paths.
|
2018-07-18 17:43:36 -04:00 |
|
Andrew Kelley
|
ecf8da00c5
|
self-hosted: linking
|
2018-07-17 13:18:13 -04:00 |
|
Andrew Kelley
|
97bfeac13f
|
self-hosted: create tmp dir for .o files and emit .o file for fn
|
2018-07-16 20:52:50 -04:00 |
|
Andrew Kelley
|
363f4facea
|
self-hosted: generate LLVM IR for simple function
|
2018-07-15 00:07:33 -04:00 |
|
Andrew Kelley
|
28c3d4809b
|
rename Module to Compilation
and CompilationUnit to ObjectFile
|
2018-07-14 16:31:17 -04:00 |
|
Andrew Kelley
|
278829fc2c
|
self-hosted: adding a fn to an llvm module
|
2018-07-14 16:03:22 -04:00 |
|