1 gazillion changes (mostly documenting my insanity optimizing + naming)

This commit is contained in:
Emile Clark-Boman 2025-06-19 02:09:43 +10:00
parent ebef458186
commit f8697bd662
9 changed files with 206 additions and 183 deletions

View file

@ -3,6 +3,7 @@ import noether/lexer/tok
import noether/lexer/tokstream
import noether/parser/parser
{.hint: "Don't forget to drink more water (^_^)".}
when isMainModule:
echo "Noether Lang Extras v0.1.0 - nlx"
@ -11,9 +12,8 @@ when isMainModule:
var tokStream = newTokStream(filename, isFile=true)
# # DumpTok
# var tok: nlTok
# while tokStream.nextTok(tok):
# echo tok
# while tokStream.progress():
# echo tokStream.currTok
# DumpTree
discard parse(tokStream)