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

https://github.com/munificent/bantam

A simple demo app for Pratt parsing
https://github.com/munificent/bantam

Last synced: 8 months ago
JSON representation

A simple demo app for Pratt parsing

Awesome Lists containing this project

README

          

This is a tiny little Java app to demonstrate Pratt parsing. For a full
explanation, see [this blog post][blog].

[blog]: http://journal.stuffwithstuff.com/2011/03/19/pratt-parsers-expression-parsing-made-easy/

The code here has also been ported to:
- [C#][csharp] by John Cardinal
- [Kotlin][kotlin] by hiperbou
- [C++][cpp] and [Rust][rust] by Jürgen Wurzer
- [Python][python] by Kuba Sunderland-Ober
- [MiniScript][miniscript] by Joe Strout
- [TypeScript][typescript] by May Tusek
- [Go][go] by Dongyeong Chon

[csharp]: https://github.com/jfcardinal/BantamCs
[kotlin]: https://github.com/hiperbou/bantam-kotlin
[cpp]: https://github.com/jwurzer/bantam-cpp
[rust]: https://github.com/jwurzer/bantam-rust
[python]: https://github.com/KubaO/pybantam
[miniscript]: https://github.com/JoeStrout/bantam-miniscript
[typescript]: https://github.com/queercat/bantam-pratt-parser-typescript
[go]: https://github.com/obzva/bantam-go