Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 1

Spirit is an object-oriented, recursive descent parser generator framework implemented using template meta-programming techniques. Expression templates allow Spirit to approximate the syntax of Extended Backus Normal Form (EBNF) completely in C++. The Spirit framework enables a target grammar to be ... [More] written exclusively in C++. EBNF grammar specifications can mix freely with other C++ code and, thanks to the generative power of C++ templates, are immediately executable. [Less]

4.6
   
  0 reviews  |  18 users  |  234,630 lines of code  |  0 current contributors  |  Analyzed 5 days ago
 
 

Irony is a development kit for implementing languages on .NET platform. Unlike most existing yacc/lex-style solutions Irony does not employ any scanner or parser code generation from grammar specifications written in a specialized meta-language. In Irony the target language grammar is coded directly ... [More] in c# using operator overloading to express grammar constructs. Irony's scanner and parser modules use the grammar encoded as c# class to control the parsing process. See the expression grammar sample for an example of grammar definition in c# class, and using it in a working parser. [Less]

5.0
 
  1 review  |  4 users  |  29,025 lines of code  |  1 current contributor  |  Analyzed 8 days ago
 
 

The Parsing Expression Grammar Template Library (PEGTL) is a C++0x library for creating parsers according to a Parsing Expression Grammar (PEG). Grammars are embedded as regular C++ code, created with template programming (not template meta programming). These hierarchies naturally correspond to the ... [More] inductive definition of PEGs. The library extends on the subject of PEGs with new expression types, actions that can be attached to grammar rules, and mechanisms to ensure helpful diagnostics in case of parsing errors. PEGs are superficially similar to Context-Free Grammars (CFGs); for a description see Wikipedia page on PEGs or this paper on PEGs by Bryan Ford. [Less]

0
 
  0 reviews  |  1 user  |  0 current contributors  |  Analyzed 12 days ago
 
 

uri_grammar provides a Spirit grammar for parsing URIs. The grammar is parameterized with user-supplied parse actions.

0
 
  0 reviews  |  1 user  |  492 lines of code  |  0 current contributors  |  Analyzed 10 days ago
 
 
Compare

Lepl is a parser for Python 3 (mostly backwards compatible with 2.6). Features: * Parsers are Python code, defined in Python itself. No separate grammar is necessary. * Friendly syntax using Python's operators allows grammars to be defined in a declarative ... [More] style close to BNF. * Integrated, optional lexer simplifies handling whitespace. * Built-in AST support with support for iteration, traversal and re-writing. * Generic, pure-Python approach supports parsing a wide variety of data including bytes (Python 3+ only). * Well documented and easy to extend. * Unlimited recursion depth (co-routines); memoisation; backtracking; etc - basically, it's recursive descent, done right. [Less]

0
 
  0 reviews  |  1 user  |  14,189 lines of code  |  2 current contributors  |  Analyzed about 2 years ago
 
 

Sweet Parser is a C++ parser library. Given a BNF grammar the library generates an LALR(1) parser that recognizes the language described by that grammar. The parser can be generated at runtime without the need for an offline generation step. If generation is required there is a stand alone ... [More] executable that provides Lua scriptable code generation from the parser state machine. Parsers generated this way have no dependencies on anything other than the standard libary. [Less]

0
 
  0 reviews  |  1 user  |  7,833 lines of code  |  1 current contributor  |  Analyzed 4 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.