Tool to transcribe Parsing Expression Grammar into a parser written in Java.

Parsing Expression Grammar (PEG) is a way to specify recursive-descent parsers with limited backtracking. The use of backtracking lifts the LL(1) restriction usually imposed by top-down parsers. In addition, PEG can define parsers with integrated lexing.

Unlike some existing parser generators for PEG, the tool does not produce a complex and storage-hungry "packrat parser", but a collection of transparent recursive procedures.

The tool can handle left recursion.

An integral feature of "Mouse" is the mechanism for specifying semantics (also in Java). This makes "Mouse" a convenient tool if one needs an ad-hoc language processor. Being written in Java, the processor is operating-system independent.

Included in the package is PEG Explorer, an interactive tool to investigate the effect of limited backtracking.
Sample grammars for Java & C are available from the Web Site.

Features

Project Samples

Project Activity

See All Activity >

Categories

Compilers

License

Apache License V2.0

Follow From PEG to a practical parser

From PEG to a practical parser Web Site

Other Useful Business Software
Connect with customers in one app Icon
Connect with customers in one app

Businesses of all sizes seeking an AI-enhanced, all-in-one communication platform to unify voice, video, and messaging for improved team collaboration

Dialpad Connect is an AI-powered unified communications platform that combines voice, video, and messaging to enhance team collaboration and customer interactions. It features real-time call transcription, automated call summaries, and AI-generated action items to help users stay focused during conversations. The platform integrates seamlessly with popular business apps like Salesforce, Zendesk, Microsoft Teams, and Google Workspace to streamline workflows. Designed for businesses of all sizes, Dialpad Connect delivers enterprise-grade reliability with 100% uptime SLA and robust disaster recovery. Security and privacy are core priorities, meeting standards like GDPR, HIPAA, and SOC 2 compliance. Dialpad Connect helps companies elevate customer experiences while boosting team productivity.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of From PEG to a practical parser!

Additional Project Details

Intended Audience

Developers, Information Technology

User Interface

Command-line

Programming Language

Java

Related Categories

Java Compilers

Registered

2010-04-05