Add a REPL for toying around

This commit is contained in:
2017-05-21 13:01:23 +02:00
parent 455845d078
commit f0156897c8
3 changed files with 76 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ all: interpreter
interpreter: interpreter.c ell.c
$(CC) $(CFLAGS) $< -o $@
repl: repl.c ell.c
$(CC) $(CFLAGS) $< -o $@
$(CC) $(CFLAGS) $< -o $@ -lreadline
clean:
rm -f interpreter repl
.PHONY: all clean