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