HACKING: scripts/mescc.mes scaffold/cons-mes.c runs.

This commit is contained in:
Jan Nieuwenhuizen 2017-04-01 16:12:51 +02:00
parent 542a8c2106
commit e87469c721

View file

@ -13,10 +13,10 @@
4. mlib.c: Minimal Mescc C library
4a. scaffold/hello.c: Simplest C program, compiled with 5.
4b. scaffold/micro-mes.c: main of 3. (2nd Scheme interpreter) + mlib.c
4x. *we are here, any more steps to reach 5*
rm -f a.out; MES_DEBUG=1 scripts/mescc.mes scaffold/micro-mes.c > a.out
4c. scaffold/cons-mes.c: run simple hardcoded sexp
4d. scaffold/tiny-mes.c: load memory dump, run simple sexp
4x. *we are here, any more steps to reach 5*
rm -f a.out; MES_DEBUG=1 scripts/mescc.mes scaffold/tiny-mes.c > a.out
4e. scaffold/t.c: run c test suite with scripts/mescc.mes
5. scripts/mescc.mes: C compiler on mes, that can build mini-mes
5a. remove __MESC__/__NYAC__ C workarounds in gc.c