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

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.

Awesome Lists containing this project

README

          

PetitParser for Kotlin
======================

[![Release Status](https://jitpack.io/v/petitparser/kotlin-petitparser.svg)](https://jitpack.io/#petitparser/kotlin-petitparser)
[![Kotlin CI](https://github.com/petitparser/kotlin-petitparser/actions/workflows/gradle.yml/badge.svg)](https://github.com/petitparser/kotlin-petitparser/actions/workflows/gradle.yml)
[![GitHub Issues](https://img.shields.io/github/issues/petitparser/kotlin-petitparser.svg)](https://github.com/petitparser/kotlin-petitparser/issues)
[![GitHub Forks](https://img.shields.io/github/forks/petitparser/kotlin-petitparser.svg)](https://github.com/petitparser/kotlin-petitparser/network)
[![GitHub Stars](https://img.shields.io/github/stars/petitparser/kotlin-petitparser.svg)](https://github.com/petitparser/kotlin-petitparser/stargazers)
[![GitHub License](https://img.shields.io/badge/license-MIT-blue.svg)](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).