Now actually have standard_grammar and with_import in scope let and all other ways in, having implemented let-vrec for mutually recursive vaus and fixing bugs. Tiny placeholder new_kraken definition and test.

This commit is contained in:
Nathan Braswell
2020-12-20 02:10:10 -05:00
parent 03b588f1f9
commit 5152e1d109
4 changed files with 224 additions and 193 deletions

View File

@@ -1307,6 +1307,6 @@ fun main(argc: int, argv: **char): int {
params.add(kpString(str(argv[i])))
}
env->set(str("*ARGV*"), kpArray(params))
println(rep(grammar, env, str("(eval (read-string (slurp \"./new_kraken.kp\")))")))
println(rep(grammar, env, str("(eval (read-string (slurp \"./prelude.kp\")))")))
return 0
}