I'm thinking about project that contains browser environment as library. Window, document etc, classes are implemented. Not every single API, but the most common one. The API that is not implemented would use native browser API. The idea is to load lightweight custom browser environment, compile the javascript code into executable and run. This allows for advanced scraping with high speed.
What code could this compiler compile and what it would not?
I'm thinking about project that contains browser environment as library. Window, document etc, classes are implemented. Not every single API, but the most common one. The API that is not implemented would use native browser API. The idea is to load lightweight custom browser environment, compile the javascript code into executable and run. This allows for advanced scraping with high speed.
What code could this compiler compile and what it would not?