Add stage 06: Lua bootstrap
The goal of stage 06 is to try parse zig synax in lua. I pulled in lpeglable 1.2.0 and parser-gen off github to get started. All of this needs to be cleaned up rather soon. Lua boostraps using tcc and musl from the previous stage. Since musl 0.6.0 doesn't support dynamic linking this build of lua doesn't support shared libraries. I couldn't easily patch musl with dlopen and friends so instead I link statically and call deps with c api.
This commit is contained in:
parent
2ae045cf8a
commit
e6b88d5a0f
170 changed files with 72518 additions and 2 deletions
|
@ -2,8 +2,8 @@ TCCDIR=tcc-0.9.27
|
|||
TCC=$(TCCDIR)/tcc
|
||||
TCC0=$(TCC)0
|
||||
TCCINST=tcc-bootstrap
|
||||
all: out04 a.out tcc
|
||||
in04: *.b ../04a/out04
|
||||
all: out04 a.out $(TCCDIR)/lib/libtcc1.a
|
||||
in04: *.b ../04a/out04
|
||||
../04a/out04 main.b in04
|
||||
out04: in04 ../04/out03
|
||||
../04/out03 in04 out04
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue