https://github.com/petitparser/kotlin-petitparser
Dynamic parser combinators in Kotlin.
https://github.com/petitparser/kotlin-petitparser
Last synced: 10 months ago
JSON representation
Dynamic parser combinators in Kotlin.
- Host: GitHub
- URL: https://github.com/petitparser/kotlin-petitparser
- Owner: petitparser
- License: mit
- Created: 2022-09-25T08:12:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-19T18:50:32.000Z (over 1 year ago)
- Last Synced: 2025-04-28T11:26:40.853Z (10 months ago)
- Language: Kotlin
- Size: 217 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
README
PetitParser for Kotlin
======================
[](https://jitpack.io/#petitparser/kotlin-petitparser)
[](https://github.com/petitparser/kotlin-petitparser/actions/workflows/gradle.yml)
[](https://github.com/petitparser/kotlin-petitparser/issues)
[](https://github.com/petitparser/kotlin-petitparser/network)
[](https://github.com/petitparser/kotlin-petitparser/stargazers)
[](https://raw.githubusercontent.com/petitparser/kotlin-petitparser/main/LICENSE)
Grammars for programming languages are traditionally specified statically. They are hard to compose and reuse due to ambiguities that inevitably arise. PetitParser combines ideas from [scannnerless parsing](https://en.wikipedia.org/wiki/Scannerless_parsing), [parser combinators](https://en.wikipedia.org/wiki/Parser_combinator), [parsing expression grammars](https://en.wikipedia.org/wiki/Parsing_expression_grammar) (PEG) and packrat parsers to model grammars and git parsers as objects that can be reconfigured dynamically.
This library is open source, stable and well tested. Development happens on [GitHub](https://github.com/petitparser/kotlin-petitparser). Feel free to report issues or create a pull-request there. General questions are best asked on [StackOverflow](http://stackoverflow.com/questions/tagged/petitparser+kotlin).
### License
The MIT License, see [LICENSE](https://raw.githubusercontent.com/petitparser/kotlin-petitparser/master/LICENSE).