I'm trying to run a program built with GHCJS using node.js. However, I get the following error:
SyntaxError: Too many variables declared (only 131071 allowed)
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:906:3
- Is it possible to increase the number of allowed variables in node?
- Is there a better utility for running JS files which would allow for more variables
- Are there optimization tools which could automatically reduce the number of variables?
Note that this is machine generated JS, so I have no desire to go through by hand and reduce the number of variables.
Any ideas are welcome.