Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Cirru/parser.ex

Cirru Parser in Elixir
https://github.com/Cirru/parser.ex

cirru

Last synced: about 2 months ago
JSON representation

Cirru Parser in Elixir

Awesome Lists containing this project

README

        

Cirru Parser in Elixir
----

On Hex https://hex.pm/packages/cirru_parser/

```
{"cirru_parser", "~> 0.0.1"}
```

```elixir
require CirruParser
CirruParser.parse "code", "filename" => [["code"]]
```

APIs:

* `parse/2` returns tree with line infos, each leaf is a map
* `pare/2` returns tree without line infos, each leaf is a string

### License

MIT