Closed simonw closed 5 months ago
I got a prototype working! UI looks like this:
So it detects invalid JavaScript. If the function IS valid it runs and works.
Currently running this in the main thread with a time limit. Would be good to have this run in a thread instead.
I can ship an alpha of this if I write some documentation and tests.
It's going to use https://pypi.org/project/quickjs/ to evaluate JavaScript, with a time limit.