From 1fcd4f53051c6559bc8c87238ae784f93b26b842 Mon Sep 17 00:00:00 2001 From: johnynek Date: Thu, 14 Nov 2024 22:40:15 +0000 Subject: [PATCH] deploy: 7ce847013c29785ddc0656ccb36de7ec28b7adac --- index.html | 84 +++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/index.html b/index.html index 17e38787..de792a56 100644 --- a/index.html +++ b/index.html @@ -123,11 +123,11 @@

cats-parse

A parsing library for the cats ecosystem.

To use in sbt add, the following to your libraryDependencies:

// use this snippet for the JVM
-libraryDependencies += "org.typelevel" %% "cats-parse" % "0.3.9"
+libraryDependencies += "org.typelevel" %% "cats-parse" % "1.0.0"
 
 // use this snippet for JS, or cross-building
-libraryDependencies += "org.typelevel" %%% "cats-parse" % "0.3.9"
-

The API docs are published.

+libraryDependencies += "org.typelevel" %%% "cats-parse" % "1.0.0" +

The API docs are published.

Why another parsing library? See this blog post detailing the design. To reiterate, this library has a few goals:

@@ -302,7 +302,7 @@

// still error since we need the space even if we drop it @@ -341,7 +341,7 @@

val p5: Parser[Char] = alpha.surroundedBy(sp) // p5: Parser[Char] = Map( @@ -378,7 +378,7 @@

p4.parse(" a ") @@ -408,7 +408,7 @@

val p7: Parser[Char] = alpha.between(sp, digit) // p7: Parser[Char] = Map( @@ -445,7 +445,7 @@

p6.parse(" a1") @@ -496,7 +496,7 @@

val p2: Parser0[List[Char]] = alpha.rep0 // p2: Parser0[List[Char]] = OneOf0( @@ -509,7 +509,7 @@

val p3: Parser[String] = alpha.repAs[String] @@ -578,7 +578,7 @@

@@ -653,7 +653,7 @@

@@ -716,7 +716,7 @@

// epsilon failure @@ -766,7 +766,7 @@

p.parse(" 1") @@ -815,7 +815,7 @@

val p2 = sp *> digit // p2: cats.parse.Parser[Char] = Map( @@ -843,7 +843,7 @@

p1.backtrack.orElse(p2).parse(" 1") @@ -877,7 +877,7 @@

val p2 = sp *> digit // p2: cats.parse.Parser[Char] = Map( @@ -905,7 +905,7 @@

val p3 = digit // p3: cats.parse.Parser[Char] = CharIn( @@ -948,7 +948,7 @@

@@ -963,7 +963,7 @@

@@ -1058,7 +1058,7 @@

val p3 = (searchWord ~ sp.?).rep.string @@ -1100,7 +1100,7 @@

@@ -1140,7 +1140,7 @@

p4.parse("title:The Wind Has Risen")