53f4081f6f
fix: correct loop condition in comment parsing
...
The loop was checking 'for i.Done()' instead of 'for !i.Done()',
which prevented the comment content from being consumed.
This caused the tokenizer to treat comment text as code.
2026-01-12 20:59:34 -05:00
b588754552
feat: broken
2026-01-12 20:58:41 -05:00
6418e05255
feat: add comment support to saccharine language
...
Add '#' comment syntax that works like Python comments.
Comments can take up a whole line or appear at the end of a line.
All characters after '#' until the next newline or EOF are ignored.
Closes #24
2026-01-12 20:53:38 -05:00
2499921679
style: moved functions around
2025-12-30 15:58:14 -05:00
412d3924eb
docs: document methods
2025-12-29 20:44:55 -05:00
aabe92f2dc
fix: cannot omit final newline
2025-12-29 20:17:50 -05:00
ee9e71d58e
fix: no ds store
2025-12-28 02:07:46 -05:00
0945cedf51
feat: only compute all free variables during a-conversion
2025-12-28 02:07:14 -05:00
4d81aca0b2
feat: fun little program
2025-12-28 00:53:43 -05:00
f038d0a685
feat: parse saccharine, conversion incoming
2025-12-27 23:36:44 -05:00
14fc4b30da
feat: cleaner parsing functions
2025-12-27 20:46:10 -05:00
c37e96770f
feat: tokenizer accepts braces, line terminator, and equal sign
2025-12-27 19:52:18 -05:00
0e185fbf41
feat: expression
2025-12-27 03:43:19 -05:00
bf0edfc593
style: renamed token index to column
2025-12-27 02:43:17 -05:00
1896cd652d
feat: better error messages
2025-12-27 02:39:56 -05:00
884180de92
feat: error for when there is more source code than parsed
2025-12-27 02:08:18 -05:00
5841023dde
fix: no log errors
2025-12-27 01:18:52 -05:00
a05a63627e
feat: better recursive descent
2025-12-27 01:18:06 -05:00
e3629acb45
feat: stuff
2025-12-26 03:37:05 -05:00
d427703afe
wip: new folder structure, overhaul language
2025-12-26 02:39:15 -05:00