summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2026-06-17lex: pretty error messages and lex_number() checks0x221e
Error messages are now pretty (not rlly), and lex_number() now checks improper use of number and binary literals. osal.h now also requires platforms to implement a printv() wrapper.
2026-06-17lex: fix lex_advance() and replace l->pos additions0x221e
l->pos increments are replaced with lex_advance, which now accepts offsets. lex_advance() now returns 0 and does not increment past buffer size upon out-of-bounds.
2026-06-16lex: add lex_get_token_name()0x221e
Add lex_get_token_name() to lex/lex.c and refactor platform/elf/main.c so that it prints the token identifier string rather than int.
2026-06-14initial commit0x221E