diff --git a/.builds/debian-arm.yml b/.builds/debian-arm.yml index 32a47e7..1a9a557 100644 --- a/.builds/debian-arm.yml +++ b/.builds/debian-arm.yml @@ -6,9 +6,12 @@ tasks: - build: | cd retroforth make -- optional: | +- repl: | cd retroforth make bin/retro-repl +- compiler: | + cd retroforth + make bin/retro-compiler - install: | cd retroforth sudo make install @@ -16,6 +19,11 @@ tasks: cd retroforth retro example/1D-Cellular-Automota.retro retro example/sea-level-rise.retro +- test-compiler: | + cd retroforth + echo "~~~\n:hello 'hello_s:put_nl_;\n~~~" >hello.retro + ./bin/retro-compiler hello.retro hello + ./a.out - check-missing: | cd retroforth retro tools/glossary.retro missing diff --git a/GNUmakefile b/GNUmakefile index bc1bcb1..c0ed553 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -152,7 +152,7 @@ bin/retro: vm/nga-c/image.c vm/nga-c/retro.c package/list.forth package/load-ext # optional targets -bin/retro-compiler: bin/retro-extend vm/nga-c/retro-compiler.c vm/nga-c/retro-runtime.c vm/nga-c/bsd-strl.c vm/nga-c/config.h vm/nga-c/dev-clock.c vm/nga-c/dev-files.c vm/nga-c/dev-floatingpoint.c vm/nga-c/dev-image.c vm/nga-c/dev-rng.c vm/nga-c/dev-sockets.c vm/nga-c/dev-unix.c vm/nga-c/prototypes.h +bin/retro-compiler: bin/retro-extend vm/nga-c/retro-compiler.c vm/nga-c/retro-runtime.c cp ngaImage runtime.image ./bin/retro-extend runtime.image interface/scripting.retro interface/filesystem.retro interface/floatingpoint.retro interface/unix.retro interface/rng.retro interface/retro-unix.retro interface/clock.retro cd vm/nga-c && $(CC) $(OPTIONS) $(CFLAGS) $(LDFLAGS) -o ../../retro-runtime retro-runtime.c $(LIBM)