fixed core methods and added test

This commit is contained in:
2018-10-03 23:26:02 +02:00
parent 59012a41b7
commit 6612918cf7
4 changed files with 548 additions and 0 deletions

14
interpreter/test/Makefile Normal file
View File

@@ -0,0 +1,14 @@
CC=gcc
all: test_interpreter
interpreter: clean
$(CC) -g ../../stack.c ../interpreter.c ../core_methods.c ../../method_dispatcher/method_dispatcher.c test_interpreter.c -o interpreter
test_interpreter: interpreter
valgrind ./interpreter
clean: