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

https://github.com/ooddaa/parser_combinator

Simple combinatory parsing in Elixir
https://github.com/ooddaa/parser_combinator

Last synced: 8 months ago
JSON representation

Simple combinatory parsing in Elixir

Awesome Lists containing this project

README

          

# Parser combinator 🌿

Exploring combinatory parsing in Elixir. End goal -> use this technique to write a simple compiler.

## TODO 📝
- two-pass: add lexer that extracts tokens and feeds further
- improve errors
- add look-ahead to avoide choice() problem

[Saša Jurić - Parsing from first principles](https://www.youtube.com/watch?v=xNzoerDljjo)

[Wiki](https://en.wikipedia.org/wiki/Parser_combinator)

[Combinator Parsing: A Short Tutorial](https://www.cs.tufts.edu/~nr/cs257/archive/doaitse-swierstra/combinator-parsing-tutorial.pdf)