From PEG to a practical parser Icon

From PEG to a practical parser

Transcribe Parsing Expression Grammar into a parser written in Java.

Add a Review
3 Downloads (This Week)
Last Update:
Download Mouse-1.9.1.tar.gz
Browse All Files
Windows Mac Linux



This is a tool to transcribe Parsing Expression Grammar into a parser written in Java.

Parsing Expression Grammar (PEG) is a new 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. It is named "Mouse" to set it apart from pack rats.

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.

Included are also PEGs for Java and C.

From PEG to a practical parser Web Site




Apache License V2.0



Other Useful Business Software

Find out what (or who) is slowing down your network Icon

Get comprehensive network bandwidth analysis and performance monitoring with SolarWinds® Bandwidth Analyzer Pack.

Find out what (or who) is slowing down your network Icon
Network slow, but you don't know the cause? Use Bandwidth Analyzer Pack (BAP) to monitor and analyze network bandwidth performance and traffic patterns. With BAP, you can identify which users, applications, and protocols are consuming the most bandwidth. You can also monitor Wireless LAN Controller traffic to see what applications and clients are using your wireless network. Try it free for 30 days!
Write a Review

User Reviews

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

Additional Project Details

Intended Audience

Information Technology, Developers

User Interface


Programming Language




Thanks for helping keep SourceForge clean.

Screenshot instructions:
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

No, thanks