feat: implement lexer+parser for example program

This commit is contained in:
samsonium
2026-10-09 15:30:50 +03:00
parent a46f79d538
commit 45206e3d07
12 changed files with 776 additions and 0 deletions
+18
View File
@@ -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)