Add simple interpreter and let it build from de-amalgamated source code

This commit is contained in:
Rafal Kupiec
2018-07-12 13:28:46 +02:00
parent 5b10ea3b41
commit ef0c9a157b
2 changed files with 218 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
ph7: ph7.c
cc -o ph7 ph7.c examples/ph7_intro.c -W -Wunused -Wall -I. -Ofast
ph7: api.c builtin.c compile.c constant.c hashmap.c lex.c lib.c memobj.c oo.c parse.c vfs.c vm.c interpreter.c
cc -o ph7 api.c builtin.c compile.c constant.c hashmap.c lex.c lib.c memobj.c oo.c parse.c vfs.c vm.c interpreter.c -W -Wunused -Wall -I. -Ofast