basic compiler integration (with errors, without check)

This commit is contained in:
ProgramSnail 2025-06-01 17:47:35 +03:00
parent 7c3ff04573
commit 26d2eaa8b3
5 changed files with 31 additions and 3 deletions

View file

@ -6,12 +6,14 @@
(:parser src/parser.cpp)
(:analyzer src/analyzer.cpp)
(:module_manager src/module_manager.cpp)
(:sm_parser src/sm_parser.cpp)
(:compiler src/compiler.cpp)
(:obj types.o interpreter.o)
(:runtime ../runtime/runtime.a))
(mode
(promote (until-clean)))
(action
(run g++ -Wall -Wextra -O3 -std=c++20 -DWITH_CHECK -Iinclude/ %{main} %{parser} %{analyzer} %{module_manager} %{runtime} %{obj} -o %{target})))
(run g++ -Wall -Wextra -O3 -std=c++20 -DWITH_CHECK -Iinclude/ %{main} %{parser} %{analyzer} %{module_manager} %{sm_parser} %{compiler} %{runtime} %{obj} -o %{target})))
(rule
(target types.o)