0.1.12 • Published 5 years ago

elm-module-parser v0.1.12

Weekly downloads
10
License
MIT
Repository
github
Last release
5 years ago

Module Parser for the Elm Programming Language

Built using PEG.js to parse module declaration, import statements, type names, and function names. Parsing is done synchronously and errors are thrown indicating parse errors.

Installation:

npm install elm-module-parser

Usage (TypeScript):

import { ModuleParser, Module } from 'elm-module-parser'

const result: Module = ModuleParser.parse('module Foo exposing (Bar)')

...

Goals

  • Work with incomplete or invalid Elm programs
  • Provide a simple interface for parsing Elm programs

Contributing

Please open an issue to begin discussion.

Future

Parse more of the Elm programming language.

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago