Elm parser in Javascript (incomplete)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.vscode
scripts
src
test
.babelrc
.eslintrc.json
.gitignore
.npmignore
.travis.yml
README.md
RELEASE-NOTES.md
Screenshot.png
grammar.html
index.js
package.json
wallaby.js
yarn.lock

README.md

Experiment, not actively developed!

  • It uses parser https://nearley.js.org/
  • And lexer https://github.com/no-context/moo
  • How to run
    1. yarn
    2. yarn example
    3. You should see parsed code from src/example.js (line 20)
  • Grammar is in src/grammar.ne (there are useful links to Elm grammar used in Intellij on the first lines of that file)

Screenshot.png


MartinKavik / elm-ast [Build Status]

A grammar and stream-friendly parser.

Crafted with ♡ by MartinKavik

Made possible by the super awesome nearley parser toolkit.