Abnf To Antlr Icon

Abnf To Antlr

Translate any ABNF grammar to ANTLR

Add a Review
2 Downloads (This Week)
Last Update:
Download AbnfToAntlr-1.4-binaries.zip
Browse All Files

Description

This translator will convert any ABNF grammar into an ANTLR grammar.

The resulting ANTLR grammar should be syntactically correct; however, some ABNF grammars are inherently ambiguous and ANTLR may complain about them until the ambiguity is resolved.

The translator makes the following corrections automatically:

1. Dashes in ABNF rule names are replaced with underscores.
2. ABNF rule names which are also ANTLR keywords are given a numeric suffix (e.g., fragment_1).
3. Duplicate rule names are given a numeric suffix to make them unique (e.g., rule_1, rule_2)
4. All rule names are converted to lowercase (parser rules).
5. By default, all character literals are converted into lexer rules (resulting in a scannerless parser).

The provided translator binary can also be compiled from source code using Visual Studio 2012 or a compatible product like SharpDevelop.

Happy translating!

Abnf To Antlr Web Site

KEEP ME UPDATED

Write a Review

User Reviews

Be the first to post a review of Abnf To Antlr!

Additional Project Details

Intended Audience

Developers

User Interface

Web-based, Console/Terminal, Command-line

Programming Language

C#

Registered

2013-03-17

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
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
X

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.

Sign up for the SourceForge newsletter:

No, thanks