Introduce new tokens: $, | and ||

This commit is contained in:
2020-03-19 13:21:34 +01:00
parent 0fb7875403
commit 7b742f21da
3 changed files with 10 additions and 2 deletions

View File

@@ -35,9 +35,9 @@ class DefaultInterpreter {
environment.loadModule("smnp.lang")
val tokens = tokenizer.tokenize(lines, source)
val ast = parser.parse(tokens)
if (printTokens) println(tokens)
val ast = parser.parse(tokens)
if (printAst) ast.node.pretty()
if (!dryRun) {