https://github.com/evuez/druid
https://github.com/evuez/druid
elixir elixir-lang haskell parser
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/evuez/druid
- Owner: evuez
- License: bsd-3-clause
- Created: 2019-08-08T15:41:36.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2021-09-25T08:38:58.000Z (over 4 years ago)
- Last Synced: 2024-10-19T17:30:23.157Z (over 1 year ago)
- Topics: elixir, elixir-lang, haskell, parser
- Language: Haskell
- Homepage: https://liftm.io/projects/druid-failing-to-parse-elixir-with-megaparsec.html
- Size: 86.9 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# druid
Trying to parse Elixir with Megaparsec.
You can try it with `readExpr "a + b"` or `readSource "path/to/file.ex"` in ghci (`stack ghci`).
You can also install it with `stack install` and then run `druid path/to/file.ex`.
[The tests](https://github.com/evuez/druid/blob/master/test/Spec.hs) should give you a good idea of what it can currently parse.
## Formatting
I'm using [hindent](https://github.com/chrisdone/hindent) to format the source files. Running `make format` will run it on all the source files.
## Tests
Run the tests with `make test` or `make test.watch` to automatically run the tests when a file changes.