JSPM

  • Created
  • Published
  • Downloads 606914
  • Score
    100M100P100Q209492F
  • License BSD-3-Clause

JavaScript runtime for ANTLR4

Package Exports

  • antlr4

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (antlr4) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

JavaScript target for ANTLR 4

JavaScript runtime libraries for ANTLR 4

This runtime is available through npm. The package name is 'antlr4'.

This runtime has been tested in Node.js, Safari, Firefox, Chrome and IE.

See www.antlr.org for more information on ANTLR

See Javascript Target for more information on using ANTLR in JavaScript

publishing

The JavaScript itself is tested using npm, so assumption is npm is already installed. The current npm version used is 3.10.9.

to npm

The publishing itself relies on the information in package.json. To publish run npm login from Terminal, then npm publish antlr4

That's it!

to browser

To publish antlr4 for browser usage you need to bundle it into a single file with npm run build. This will create dist/antlr4.js file. Upload it to your favourite server.

That's it!