diff --git a/CMakeLists.txt b/CMakeLists.txt index bac6e38..1c7176f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,10 +10,10 @@ option(CAMELLYA_BUILD_CLI "Build command line interface" ON) # Library sources set(LIB_SOURCES + src/camellya.cpp src/lexer.cpp src/parser.cpp src/value.cpp - src/state.cpp src/chunk.cpp src/compiler.cpp src/vm.cpp @@ -26,7 +26,6 @@ set(LIB_HEADERS src/parser.h src/ast.h src/value.h - src/state.h src/chunk.h src/compiler.h src/vm.h diff --git a/cli/main.cpp b/cli/main.cpp index 0ca8a2c..9405dd0 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -1,22 +1,26 @@ #include "camellya.h" -#include -#include #include +#include +#include -int main(int argc, char** argv) { - if(argc < 2){ - std::cout << std::format("Usage: chun