Andrew Kelley
87c6341b61
stage2: add extern functions
...
and improve the C backend enough to support Hello World (almost)
2020-12-28 17:15:29 -07:00
Andrew Kelley
f75d4cbe56
Revert "stage2: add compile log statement ( #7191 )"
...
The addition of `addDeclErr` introduced a memory leak at every call
site, and I also would like to push back on having more than 1
compilation error per `Decl`.
This reverts commit 1634d45f1d53c8d7bfefa56ab4d2fa4cc8218b6d.
2020-12-28 11:24:53 -07:00
g-w1
1634d45f1d
stage2: add compile log statement ( #7191 )
2020-12-26 02:40:49 +02:00
Tadeo Kondrak
25ec2dbc1e
Add builtin.Signedness, use it instead of is_signed
2020-11-19 18:59:21 +02:00
Vexu
e2e0b6272b
stage2: return same hash for different representations of same value
2020-10-30 15:58:13 +02:00
Vexu
2c12f4a993
stage2: implement Value.eql for void, null and types
2020-10-30 15:58:12 +02:00
Vexu
7e2774367e
stage2: implement Value.hash
2020-10-30 15:58:12 +02:00
Vexu
27d233cef7
stage2: basic switch validation
2020-10-30 15:58:11 +02:00
Vexu
e8ca1b254d
std: remove renderStringLiteral in favor of std.fmt specifier
2020-10-17 23:20:38 +03:00
Timon Kruiper
bd7eab573a
Fix building the zig compiler for 32-bit targets
2020-10-06 23:39:58 -07:00
Vexu
7d910b024b
stage2: very basic imports
2020-09-30 16:59:08 +03:00
Vexu
20ae15917c
stage2: add import builtin stub
2020-09-30 16:56:45 +03:00
Andrew Kelley
528832bd3a
rename src-self-hosted/ to src/
2020-09-21 18:38:55 -07:00