parser -> lexer

That's the real purpose of this module; it's not really generating an
AST since ARL's syntax isn't tree like whatsoever.

The next stage will be something closer to an AST, in the sense we'll
be introducing:
- Syntactical analysis
- Type Checking
This commit is contained in:
2026-01-29 03:43:04 +00:00
parent 42ac4f6bbb
commit dc96e12145
8 changed files with 259 additions and 261 deletions

View File

@@ -3,8 +3,8 @@ CC=cc
DIST=build
OUT=$(DIST)/arl.out
MODULES=. lib parser
UNITS=main lib/vec lib/sv parser/ast parser/parser
MODULES=. lib lexer
UNITS=main lib/vec lib/sv lexer/token lexer/lexer
OBJECTS:=$(patsubst %,$(DIST)/%.o, $(UNITS))
LDFLAGS=