feat: implement lexer+parser for example program
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
cmake_minimum_required(VERSION 4.3)
|
||||
project(fz-lang
|
||||
LANGUAGES C)
|
||||
|
||||
include_directories(include)
|
||||
|
||||
# Compiler
|
||||
add_executable(fzc
|
||||
src/compiler/fzl_token.c
|
||||
src/compiler/fzl_reader.c
|
||||
src/compiler/fzl_parser.c
|
||||
src/compiler/fzl_debug.c
|
||||
src/compiler/main.c)
|
||||
|
||||
# VM
|
||||
# add_executable(fzvm
|
||||
# src/vm/main.c)
|
||||
|
||||
Reference in New Issue
Block a user