Started implementing the lexer

This commit is contained in:
2023-06-17 00:45:00 +01:00
parent f4b826a299
commit cad6b938b3
9 changed files with 887 additions and 0 deletions

12
compile Normal file
View File

@@ -0,0 +1,12 @@
#!/bin/bash
CC=clang
CFLAGS="-g -Wall -Werror -pedantic -Iinclude"
SRC="src/main.c"
OUT=main
# LEXER
CFLAGS+=" -Iinclude/lexer"
SRC+=" src/lexer/*.c"
$CC $CFLAGS $SRC -o $OUT