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
- Host: GitHub
- URL: https://github.com/munificent/bantam
- Owner: munificent
- License: other
- Created: 2011-03-18T01:11:49.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2024-11-09T00:58:18.000Z (about 1 year ago)
- Last Synced: 2025-04-08T19:21:32.579Z (9 months ago)
- Language: Java
- Homepage:
- Size: 27.3 KB
- Stars: 329
- Watchers: 15
- Forks: 41
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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