Commit Graph

14 Commits

Author SHA1 Message Date
b630aa009c lang: lex: add function to check if tokens are available
if this function returns false, any attempt to read tokens from the lexer will cause another line of input to be retrieved from the lexer's line source.
2024-11-23 19:27:29 +00:00
5c5a2d236c lang: ast: add stub parser functions 2024-11-23 10:15:40 +00:00
ceb9f10b66 lang: add ast node definitions 2024-11-22 21:47:37 +00:00
6e642b3c19 lang: lex: implement lexing of decimal numbers 2024-11-19 16:57:20 +00:00
1dbe68cfeb lang: lex: add missing symbol and keyword definitions 2024-11-19 15:57:31 +00:00
7c42bf7bc9 lang: add internal debugging interface 2024-11-19 15:22:39 +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
7959dc26a1 Merge branch 'main' of https://github.com/washh/ivy 2024-11-16 20:40:32 +00:00
00cf226078 lang: lex: implement lexing of symbols, identifiers, labels, keywords, and comments 2024-11-16 17:05:29 +00:00
646a851a10 meta: add msvc support
since bluelib is already cross-platform, this is mostly just adding
__declspec(dllexport) to the library functions.
2024-11-14 19:30:36 +00:00
6b02a86ba4 lang: implement identifier support in the lexer 2024-11-13 21:37:00 +00:00
d6dea45f52 meta: rename library modules 2024-11-12 19:55:47 +00:00