 |
|
Innovation award
 Nominee: 5x
Winner: 1x |
This package can parse source code in a given language based on the language syntax defined in the BNF format (Backus-Naur Form).
It takes a grammar with syntax rules defined in BNF format and parses the syntax to build a XML parse tree.
The main class also takes as parameter a reference to a lexer object that splits the source code text in tokens.
A SQL parser and a RTF parser are provided as examples.
|
|
| Name: |
Pragmatic BNF-a-like parser |
| Base name: |
pragmatic-parser |
| Description: |
Parse language source with a BNF grammar syntax |
| Version: |
0.3 |
| PHP version: |
5.3 |
| License: |
GNU General Public License (GPL) |
| All time users: |
412 users |
| All time rank: |
5441 |
| Week users: |
0 users |
| Week rank: |
2029  |
| |
|
 October 2011
Number 4
Prize: One book of choice by Packt |
BNF (Backus-Naur Form) defines a syntax for representing the grammar of the commands of a given programming language.
This implements a parser to process a language grammar in the BNF format, so it can be used to implement parsers and compilers for that language.
Manuel Lemos |
| There are not enough user ratings to display for this class. |
| |
Applications that use this class |
|
|
No application links were specified for this class.

If you know an application of this package, send a message to the
author to add a link here.
| |
Files |
|
|