begin work on new lexer

This commit is contained in:
Lobo 2026-01-26 08:09:00 -03:00
parent 30ff72b3ae
commit 35bad08a0d
33 changed files with 2464 additions and 3 deletions

View file

@ -0,0 +1,41 @@
project('libutf', 'c')
add_project_arguments(
'-Wno-missing-braces',
'-Wno-parentheses',
'-Wno-sign-compare',
language: 'c'
)
inc = include_directories('.')
libutf = static_library(
'utf',
[
'rune.c',
'runestrcat.c',
'runestrchr.c',
'runestrcmp.c',
'runestrcpy.c',
'runestrdup.c',
'runestrecpy.c',
'runestrlen.c',
'runestrncat.c',
'runestrncmp.c',
'runestrncpy.c',
'runestrrchr.c',
'runestrstr.c',
'runetype.c',
'utfecpy.c',
'utflen.c',
'utfnlen.c',
'utfrrune.c',
'utfrune.c',
'utfutf.c',
],
)
libutf_dep = declare_dependency(
include_directories: inc,
link_with: libutf
)