1 gazillion changes (mostly documenting my insanity optimizing + naming)
This commit is contained in:
parent
ebef458186
commit
f8697bd662
9 changed files with 206 additions and 183 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue