Begun refactoring the Parser to generate a list of Stmt which the Interpreter will then execute (to be done).

This commit is contained in:
2022-04-04 19:22:59 +00:00
parent 73067fcc1f
commit 842473742e
4 changed files with 94 additions and 10 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
CC = gcc
CFLAGS=-g -Wall -DDEBUG
CFLAGS=-g -Wall -DDEBUG -Wpedantic
SRCDIR=src
OBJDIR=obj
SRCS=$(wildcard $(SRCDIR)/*.c)
@@ -11,7 +11,7 @@ BIN=$(BINDIR)/clox
all: $(BIN)
release: CFLAGS=-Wall -O2
release: CFLAGS=-Wall -Wpedantic -O2
release: clean
release: $(BIN)