Skip to content

Commit 2d0cfda

Browse files
committed
feat: add Pratt expression parser with literals, identifiers, and operators
1 parent 10fe5fe commit 2d0cfda

4 files changed

Lines changed: 737 additions & 1 deletion

File tree

Makefile.new

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,9 @@ GTEST_CPPFLAGS = -I$(GTEST_DIR)/include -I$(GTEST_DIR)
2222
TEST_SRCS = $(TEST_DIR)/test_main.cpp \
2323
$(TEST_DIR)/test_arena.cpp \
2424
$(TEST_DIR)/test_tokenizer.cpp \
25-
$(TEST_DIR)/test_classifier.cpp
25+
$(TEST_DIR)/test_classifier.cpp \
26+
$(TEST_DIR)/test_expression.cpp \
27+
$(TEST_DIR)/test_set.cpp
2628
TEST_OBJS = $(TEST_SRCS:.cpp=.o)
2729
TEST_TARGET = $(PROJECT_ROOT)/run_tests
2830

0 commit comments

Comments
 (0)