better-parse icon indicating copy to clipboard operation
better-parse copied to clipboard

A nice parser combinator library for Kotlin

Results 39 better-parse issues
Sort by recently updated
recently updated
newest added

I've forked the master in order to fix the faulty Regex implementation in the JS code. Besides that, I've bumped the versions. All tests still pass.

I used better-parse in a personal project and I would like to add it as a usage example. It may be helpful.

I've made a toy language: https://github.com/avwie/borklang Everything works correctly on the JVM and when running `jvmTest` and `jsTest`. Also my web project is working correctly when I use `browserDevelopmentRun`. However,...

This might be a duplicate of https://github.com/h0tk3y/better-parse/issues/29. But there's no solution in that issue, and it's almost three years old. Using Kotlin 1.8.20, and better-parse 0.4.4, this code (which is...

Hello, This probably isn't the place but I struggle with identation base grammar as in YAML. If someone could provide simple solution how would you do this as in YAML....

I have a related [question](https://stackoverflow.com/questions/75901183/kotlin-multiplatform-library-is-not-visible-by-intellij-idea) on stackoverflow. I noticed that adding library to the `jsMain` module is not working, while in `jvmMain` a separate dependency works: ```kotlin sourceSets { val...

Im failing to do recursion: ``` val group : Parser by (groupStart and zeroOrMore(group) and groupEnd).map { // line 58 (name1 : String, nested : List, name2 : String )...

Hello! I'm enjoying this library very much. However, building it gives this: ``` % ./gradlew clean > Task :buildSrc:compileKotlin FAILED e: java.lang.NoClassDefFoundError: Could not initialize class org.jetbrains.kotlin.com.intellij.pom.java.LanguageLevel at org.jetbrains.kotlin.com.intellij.core.CoreLanguageLevelProjectExtension.(CoreLanguageLevelProjectExtension.java:26) at...

Hello, I have observed some issues with this library as follows. Class com.github.h0tk3y.betterParse.lexer.TokenMatch.getText() does not perform a boundary checking of the parameters in the method subSequence(this.offset, this.offset + this.length).toString(), which...