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 |
|
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
|
adefd1a52b
|
self-hosted: function calling another function
|
2018-07-24 20:24:05 -04:00 |
|
Andrew Kelley
|
93e78ee722
|
self-hosted can compile libc hello world
|
2018-07-22 23:28:53 -04:00 |
|
Andrew Kelley
|
f5a67dba08
|
self-hosted: implicit cast comptime ints to other ints
we now have successful exit codes from main linking
against libc
|
2018-07-20 01:46:49 -04:00 |
|
Andrew Kelley
|
3908b4fdee
|
self-hosted: refactor ParsedFile out of existence
also we are successfully analyzing the return type of main
|
2018-07-19 15:11:39 -04:00 |
|
Andrew Kelley
|
1d85b588ea
|
self-hosted: progress on IR for supporting libc hello world
* add c int types
* some more ir stubs
|
2018-07-19 00:08:47 -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 |
|
Andrew Kelley
|
e78b1b810f
|
self-hosted: basic IR pass2
|
2018-07-13 21:56:38 -04:00 |
|
Andrew Kelley
|
687bd92f9c
|
self-hosted: generate zig IR for simple function
no tests for this yet. I think the quickest path to testing will be
creating the .o files and linking with libc, executing, and then
comparing output.
|
2018-07-12 15:12:44 -04:00 |
|