Registry / utility / fastparse-2-13

fastparse-2-13

JSON →
library3.1.1javamavenunverified

Fast and efficient parser combinator library for Scala, supporting Scala 2.13.

<dependency> <groupId>com.lihaoyi</groupId> <artifactId>fastparse_2.13</artifactId> <version>3.1.1</version> </dependency>
INSTALL
IMPORT
SIG · FASTPARSE-2-13
F
fastparse-2-13
utilityjavav3.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parser
fastparse.Parser

Simple parser that matches 'hello' and returns 'world'

import fastparse.Parser; import fastparse.ScalaWhitespace._; public class FastParseExample { public static void main(String[] args) { Parser<String> parser = P("hello").map(_ -> "world"); String result = parser.parse("hello").get.value; System.out.println(result); // prints "world" } }
Debug
Known issues
breakingScala 2.13 version; not compatible with Scala 2.12 or 3.x.
fix
Use fastparse_2.12 or fastparse_3 for respective Scala versions.
affects: >=3.0.0
Upgrade
Version history
3.1.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
fastparse-2-13 — mvn dependency:get fastparse-2-13 · libregistry