parboiled

Parboiled

Parboiled is an open-source Java library for parsing that provides a recursive descent parser generator specifically designed for Graal and Truffle. It allows creating fast, reusable parsers in a simple way.

Parboiled: Open-Source Recursive Descent Parser Generator

An open-source Java library for parsing that generates recursive descent parsers specifically designed for Graal and Truffle, creating fast and reusable parsers in a simple way.

What is Parboiled?

Parboiled is an open-source Java library for creating parsers. It provides a parser generator that allows developers to easily create fast, reusable recursive descent parsers.

Some key features of Parboiled:

  • Implemented as an annotation processor, it generates Java code for the parser at compile time for better performance
  • Supports memoization and packing to optimize the parsers it creates
  • Integrates smoothly with Graal and Truffle to take advantage of just-in-time compilation for increased parsing speeds
  • Provides simple parser definition DSL based on Java annotations
  • Detects common parser errors like infinite left recursive rules
  • Liberal open-source license allows using it anywhere

Parboiled is useful for Java developers who need to parse input formats like JSON, XML, CSV files, computer languages and more. Because of its focus on high performance through Graal and Truffle integration, it's especially good for applications that need to parse large volumes of data efficiently.

Overall, Parboiled makes it very easy to define parsers that are fast, reusable, and integrate seamlessly in a Java application. Its innovative compiler-based approach sets it apart from traditional parser generators.

Parboiled Features

Features

  1. Recursive descent parser generator
  2. Designed for Graal and Truffle
  3. Allows creating fast, reusable parsers
  4. Simple and straightforward syntax

Pricing

  • Open Source

Pros

Efficient and fast parsing performance

Highly customizable and extensible

Supports backtracking and error handling

Well-documented and actively maintained

Cons

Specific to Java ecosystem

Requires understanding of parser generation concepts

May have a steeper learning curve for beginners

Reviews & Ratings

Login to Review
No reviews yet

Be the first to share your experience with parboiled!

Login to Review

The Best Parboiled Alternatives

Top Development and Parser Generators and other similar apps like Parboiled

Here are some alternatives to Parboiled:

Suggest an alternative ❐

ANTLR icon

ANTLR

ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. Here is an overview:Open source software tool for building languages, tools, and frameworksImplemented in Java, C#, Python, JavaScript, C++, and other languagesGenerates lexical analyzers and parsers from grammar...
ANTLR image
Dropincc.java icon

Dropincc.java

dropincc.java is an open-source Java agent developed by Datadog for production profiling of Java applications. It enables method-level visibility into the performance of Java apps with minimal overhead or code changes required. Key features of dropincc.java include:Lightweight production profiling agent with ~3% performance overheadMethod-level insights including runtime, CPU time, I/O,...
Dropincc.java image
Owl parser generator icon

Owl parser generator

Owl is an open-source parser generator for Java that allows creating parsers for programming languages, data formats, and other text-based formats. It aims to simplify and speed up parser development by automatically generating most of the code needed for a parser.Some key features of Owl include:Lexer and parser generation from...
Owl parser generator image