Skip to content

evuez/druid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 should give you a good idea of what it can currently parse.

Formatting

I'm using 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.