I currently make use of the npm package antlr4 in a node js project, with antlr4 parsers running in a web-worker, this works fine, however the npm package has its own dependencies such as:
"buffer": "github:jspm/nodelib...@0.1.1",
"fs": "github:jspm/nodel...@0.1.2",
"process": "github:jspm/nodelibs...@0.1.2"
The above dependencies have their own package dependencies and so forth. Performance on the web is crucial and I am trying to keep dependencies at a minimum. The less scripts our users need to download the better. (Our web app will be run on both desktop and mobile devices in slow network enviroments.)
I then decided to remove the node package in favour of the javascript runtime I download from antlr.org. This has its own node module requirements which are not available in the web-worker thread.
Surely there is a minified version of the javascript runtime I can use that does not require outside dependencies?
--
You received this message because you are subscribed to the Google Groups "antlr-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antlr-discussi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.