3 ms·
At this point, why not just implement a restricted interpreter in JS with a simple language. As soon as you do anything non-trival you're going to want variable
by kjeetgill 8y ago
At this point, why not just implement a restricted interpreter in JS with a simple language. As soon as you do anything non-trival you're going to want variables and function calls.
- rkeene2 8y agoThis is similar to what Tcl does for Safe Interpreters. https://www.tcl.tk/man/tcl8.6/TclCmd/safe.htm https://www.tcl.tk/man/tcl8.6/TclCmd/safe.htm