Commit Graph

7 Commits

Author SHA1 Message Date
5a5b0d01d8 lang: lex: only read linefeeds up to the end of the current line buffer 2024-11-18 15:19:26 +00:00
61eabd52c4 lang: lex: replace call to isnumber() with isdigit() 2024-11-17 10:58:31 +00:00
104e549b32 lang: lex: implement lexing of numbers and atoms 2024-11-17 09:31:58 +00:00
f14c387a6e lang: lex: implement state stack; make lexer structure opaque
the state stack is used to track whether a string is currently being read,
what kind of string it is, and whether or not we are in an interpolation
within that string.
2024-11-16 23:03:43 +00:00
102769735e lang: lex: start implementing strings and interpolation 2024-11-16 21:30:32 +00:00
00cf226078 lang: lex: implement lexing of symbols, identifiers, labels, keywords, and comments 2024-11-16 17:05:29 +00:00
6b02a86ba4 lang: implement identifier support in the lexer 2024-11-13 21:37:00 +00:00