6bf4df85da
update
2025-04-05 10:59:56 +01:00
e299e0cd3e
fixing
2025-04-05 10:59:39 +01:00
35a88970c2
working on it
2025-04-05 10:55:40 +01:00
56a6e78765
update
2025-04-01 18:16:28 +01:00
fe22cc7665
Big Commit
...
I accidentally made this commit really big after some git mishaps.
Working on zig grammar, finally kinda works.
Fixed some diagnostics warnings
Moved examples to tofix because fixing them is besides the point right
now.
2023-10-12 16:39:09 +01:00
858fe11666
Fixed some diagnostics warnings
...
Moved examples to tofix because fixing them is besides the point right
now.
2023-09-19 11:44:13 +01:00
52164c82e3
Split main.lua and comment out code for now
...
I commented out the code because the lua linter I have running is
showing so many warnings its really annoying me so I need to fix all
those before writing anything.
2023-09-19 11:44:13 +01:00
6f021bad5e
Update README.md
2023-09-19 11:44:13 +01:00
46e320f5f3
Update README.md
2023-07-17 10:13:10 +01:00
e6b88d5a0f
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.
2023-07-06 12:32:47 +01:00
2ae045cf8a
Patched musl with log functions
...
I pulled in the implementation of a few log functions from musl 0.8.7
because lua needed log2 to compile. Since lua needed only log2 I
commented out the ones that didn't immediatly compile like log1p.c.
2023-07-06 12:16:15 +01:00
pommicket
36a81aa0b9
clean up 05 README
2023-07-03 17:58:11 -04:00
pommicket
113d03741a
add inttyes.h,stdint.h to 05 stdlib, musl instructions in readme
2023-07-03 17:50:49 -04:00
pommicket
3384d69133
fix compile errors
2023-07-03 15:47:07 -04:00
fe7a0abd38
testing bootstrap
2023-07-03 15:39:37 -04:00
pommicket
5e2d856b03
fix outdated command in 05 README
2023-07-03 15:38:28 -04:00
pommicket
9e7cc651d3
fixed typos
2022-10-08 13:43:37 -04:00
pommicket
a08fef645e
cleaned up comments
2022-02-27 15:31:02 -05:00
pommicket
b4e22170b4
edit readmes
2022-02-23 23:50:49 -08:00
pommicket
c75af0c8e5
coda
2022-02-23 22:37:01 -08:00
pommicket
9bc8a11afe
conclusion
2022-02-20 13:18:21 -08:00
pommicket
0f97a589b8
actual hello world program
2022-02-19 19:46:02 -08:00
pommicket
a8c884e6cd
finish 05
2022-02-19 19:43:13 -08:00
pommicket
54a191a117
gcc and bootstrap are in agreement!
2022-02-19 18:22:57 -08:00
pommicket
7deda52af6
remove gettimeofday stuff
2022-02-19 12:21:07 -05:00
pommicket
9c6b9a1450
full build of tcc with itself - doesn't match gcc :o
2022-02-19 12:01:56 -05:00
pommicket
59b7931165
more 05 readme
2022-02-18 17:16:49 -05:00
pommicket
06def8fb86
satrt readme
2022-02-18 14:36:44 -05:00
pommicket
826d1afd58
newer version of tcc almost working
2022-02-18 12:36:57 -05:00
pommicket
c42c5d94b8
fixed += bug with non-char pointers
...
tcc 0.9.25 can't compile musl (or any libc, probably).
will probably need to write libc for tcc, then compile
gcc or a later version of tcc with it
2022-02-17 21:33:21 -05:00
pommicket
e94266df3d
working (?) tcc build
2022-02-17 17:38:52 -05:00
pommicket
e900dd8d6f
procuding a (non-working) executable for tcc
2022-02-17 13:22:13 -05:00
pommicket
6e1158f49a
the last parts of the C standard library
2022-02-16 22:58:16 -05:00
pommicket
b1e837afb4
string.h
2022-02-16 19:41:44 -05:00
pommicket
c29bc36514
start string.h
2022-02-16 15:57:45 -05:00
pommicket
3a3f6cc424
stdlib.h
2022-02-16 15:41:30 -05:00
pommicket
c6f1a399af
signal.h
2022-02-16 13:34:57 -05:00
pommicket
408e9b0e81
start signal.h
2022-02-16 12:25:14 -05:00
pommicket
42911ccf67
math.h
2022-02-15 22:41:18 -05:00
pommicket
95e7ec1ab5
locale.h
2022-02-15 16:48:18 -05:00
pommicket
23198d16f4
ctype.h, getenv
2022-02-15 16:36:52 -05:00
pommicket
f973ff8cb8
mostly-standard scanf
2022-02-15 15:40:15 -05:00
pommicket
1ea9d85e3f
strtod
...
also fixed comparing strings
2022-02-15 12:16:21 -05:00
pommicket
f7c3154b8a
strtoul, strtol
2022-02-14 22:43:25 -05:00
pommicket
0c5b34b8d0
better error for declaring incomplete struct
2022-02-14 16:58:38 -05:00
pommicket
c15db88951
almost all of stdio.h
2022-02-14 16:52:33 -05:00
pommicket
d0d868433e
clean up stb_sprintf; implementation of fprintf et al, remove
2022-02-14 12:04:49 -05:00
pommicket
f7a8a193c2
snprintf now working! (fixed problem will calls inside calls)
2022-02-14 11:39:33 -05:00
pommicket
1f9534d750
cleanup notes
2022-02-13 22:20:49 -05:00
pommicket
b9fd2a2b9c
sprintf working! (but not snprintf ...)
2022-02-13 22:12:44 -05:00