commit 7912e92df0558c6d8578fa860f7067eb176d79a7 parent 1c9bada9e3ee47a3b04d6002757feae802be4ad7 Author: Henry Wilson <m3henry@googlemail.com> Date: Mon, 31 Jul 2017 22:47:44 +0100 separated test input from makefile Diffstat:
A | input.txt | | | 7 | +++++++ |
M | makefile | | | 2 | +- |
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/input.txt b/input.txt @@ -0,0 +1,7 @@ +CR +GREET +5 3 * . CR +8 3 FLAG +: SQUARE DUP * ; +12 SQUARE . CR +HALT diff --git a/makefile b/makefile @@ -1,6 +1,6 @@ all: bin/aFORTH @echo Testing... - @/bin/echo -ne "12 DUP * . CR 10 4 FLAG ] GREET [ GREET" | bin/aFORTH + @bin/aFORTH < input.txt interactive: bin/aFORTH @bin/aFORTH