Registry / utility / scala-parser-combinators-2-11

scala-parser-combinators-2-11

JSON →
library2.2.0javamavenunverified

Library for building parsers in Scala using combinator-based parsing.

<dependency> <groupId>org.scala-lang.modules</groupId> <artifactId>scala-parser-combinators_2.11</artifactId> <version>2.2.0</version> </dependency>
INSTALL
IMPORT
SIG · SCALA-PARSER-COMBI
S
scala-parser-combinators-2-11
utilityjavav2.2.0
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.

RegexParsers
scala.util.parsing.combinator.RegexParsers

Define a parser for integers and parse a string.

import scala.util.parsing.combinator._ object QuickStart extends RegexParsers { def number: Parser[Int] = """\d+""".r ^^ (_.toInt) def main(args: Array[String]): Unit = { println(parseAll(number, "42")) } }
Debug
Known issues
breakingThis artifact is for Scala 2.11; use scala-parser-combinators_2.13 or _3 for newer Scala versions.
fix
Use the appropriate artifact for your Scala version (e.g., scala-parser-combinators_2.13).
affects: *
Upgrade
Version history
2.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
scala-parser-combinators-2-11 — mvn dependency:get scala-parser-combinators-2-11 · libregistry