Blocked by #2
When this is "compiling" JavaScript via src/compile.py, there should be some "sanity-checking" on the output.
Looks like this would be made possible by adding a requirement (there will be a requirements.txt now)
pip install pyjsparser
Then parse the script and check for an exception like so...
import pyjsparser
try:
pyjsparser.parse(output_javascript)
except:
print('Your JavaScript sucks')
Blocked by #2
When this is "compiling" JavaScript via
src/compile.py, there should be some "sanity-checking" on the output.Looks like this would be made possible by adding a requirement (there will be a
requirements.txtnow)pip install pyjsparserThen parse the script and check for an exception like so...