Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
ES5 appears to require that
Please find attached a simple Duktape-powered C file that tries to parse the given argument file.
Compile and run using:
When choking it produces a:
Thanks @keithamus !
As for tests, I was also not sure of what could be done, maybe a script that depend on execjs (https://github.com/rails/execjs) or duktape.rb (https://github.com/judofyr/duktape.rb) could be launched by your travis ? It would enable to check correct parsing under a few JS runtime without directly depending on them in the project.