don't spam root objects
This commit is contained in:
parent
2cee9260f7
commit
0b479fc9d0
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/env bqn
|
||||
#!/usr/bin/env ./BQN
|
||||
args←•args
|
||||
"Usage: ./getRuntime.bqn path/to/mlochbaum/BQN"!1≤≠args
|
||||
path←⊑•args
|
||||
|
||||
@ -169,6 +169,7 @@ int main(int argc, char* argv[]) {
|
||||
}
|
||||
}
|
||||
if (startREPL) {
|
||||
B replPath = m_str32(U"REPL"); gc_add(replPath);
|
||||
while (CATCH) {
|
||||
printf("Error: "); print(catchMessage); putchar('\n');
|
||||
vm_pst(envCurr, envStart+envPrevHeight);
|
||||
@ -178,7 +179,6 @@ int main(int argc, char* argv[]) {
|
||||
#endif
|
||||
gc_maybeGC();
|
||||
}
|
||||
B replPath = m_str32(U"REPL"); gc_add(replPath);
|
||||
while (true) { // exit by evaluating an empty expression
|
||||
char* ln = NULL;
|
||||
size_t gl = 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user