begin work on new lexer

This commit is contained in:
Lobo 2026-01-26 08:09:00 -03:00
parent 30ff72b3ae
commit 062eee744c
32 changed files with 2472 additions and 0 deletions

View file

@ -6,6 +6,9 @@ project(
default_options : ['buildtype=debugoptimized', 'c_std=gnu11', 'warning_level=3'],
)
libutf = subproject('libutf')
libutf_dep = libutf.get_variable('libutf_dep')
sources = [
'src/arena.c',
'src/chunk.c',
@ -13,11 +16,13 @@ sources = [
'src/debug.c',
'src/dictionary.c',
'src/file.c',
'src/lexer.c',
'src/object.c',
'src/gc.c',
'src/parser.c',
'src/primitive.c',
'src/print.c',
'src/stream.c',
'src/string.c',
'src/userdata.c',
'src/vm.c',
@ -29,5 +34,6 @@ sources = [
exe = executable(
'growl',
'src/main.c', sources,
dependencies : [libutf_dep],
install : true,
)