I had a few goes with making a JS sandbox. I also created a safe DOM 
environment that allowed safe manipulation of innerHTML etc

JS sandbox with regular expressions
http://www.businessinfo.co.uk/labs/jsreg/jsreg.html

JS sandbox and safe DOM environment
http://businessinfo.co.uk/labs/MentalJS/MentalJS.html

It would be great to have a parser in JS!

> On 14 Sep 2019, at 06:46, Jack Works <[email protected]> wrote:
> 
> Just like DOMParser in HTML and Houdini's parser API in CSS, a built-in 
> parser for ECMAScript itself is quite useful in many ways.
> 
> Check out https://github.com/Jack-Works/proposal-ecmascript-parser for 
> details (and also, finding champions!)
> 
> 
> 
> _______________________________________________
> es-discuss mailing list
> [email protected]
> https://mail.mozilla.org/listinfo/es-discuss
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to