sci

souenzzo 2022-07-22T16:23:44.288449Z

@borkdude i remember that was possible to control things like "max stack size", "max recur limit", "max list size" in sci. But I can't find docs about it.

borkdude 2022-07-22T16:25:49.758589Z

@souenzzo There was something like this very early on but it was removed because of several reasons: performance, but also: once you want this level of control, you usually also want timeout control, etc and SCI can't offers this: the host runtime should be able to do this. I've got something like this working in the #nbb REPL: when you type (range) there it's stuck, but you can press ctrl-c to interrupt the "vm" and then it's back into the REPL. Another very simple way to prevent such a problem is to use print-length.

👍 1
😕 1
borkdude 2022-07-22T18:35:35.704789Z

@souenzzo Perhaps you can explain your use case in more detail

devn 2022-07-27T02:58:37.970379Z

to be fair, sci could offer this

borkdude 2022-07-27T06:03:14.145169Z

Not reliable enough since you then need to patch most of the core function etc