2 Commits

Author SHA1 Message Date
85fd507004 Add functions to skip over trivia in a tokenlist 2025-04-02 11:36:33 +02:00
bd37ddaeea Add tokenlist, a linked list of lexer tokens
The linked list is doubly linked so the parser can look forward into it
and error reporting can look backward.

This commmit also reworks main to use the tokenlist instead of dealing
with the lexer manually.
2025-03-31 18:43:34 +02:00