Recursive Descent Parser
LLg is a recursive descent parser generator. SYNOPSIS use LLg; @tokens = ( ADDOP => [-+], LEFTP => [(], RIGHTP => [)], INTEGER => 0|[1-9][0-9]*, ); $reader = Lex->new(@tokens); $ADDOP->debug; $expr = And->new(($factor, Any->new($ADDOP, $factor)), sub { shift(@_); my $result =...
Platforms: *nix
License: Freeware | Size: 20.48 KB | Download (93): LLg 1.07 Download |
JetPAG is a recursive-descent parser and lexical analyzer generator.It generates optimized recursive-descent recognizers with multi-token lookahead. In short this means that parsers generated by JetPAG scan input stream left-to-right, and predict what to do next before taking actions.Features -...
Platforms: Windows, *nix, C/C++,
License: Freeware | Download (52): JetPAG Download |
Verto is a compiler that uses a top-down recursive descent parser implemented in Java
for educational purposes. It translates Verto language (a subset of the C language) into Caesar machine language.
Verto is the Latin word for interpret.
Platforms: Windows, Mac, Linux
License: Freeware | Size: 350.48 KB | Download (50): Verto Compiler Download |
YACCL is a simple Java recursive descent parser, in the tradition of other RDP technologies such as ANTLR and JavaCC. It differs from these in a number of ways: it is smaller and simpler (though not necessarily faster).
Platforms: Windows, Mac, Linux
License: Freeware | Size: 126.65 KB | Download (50): Yet Another Compiler Compiler Language Download |
XML::Descent is a Perl module for recursive descent XML parsing. SYNOPSIS use XML::Descent; # Create parser my $p = XML::Descent->new({ Input => $xml }); # Setup handlers $p->on(folder => sub { my ($elem, $attr) = @_; $p->on(url => sub { my ($elem, $attr) = @_; my $link = { name...
Platforms: *nix
License: Freeware | Size: 9.22 KB | Download (93): XML::Descent Download |
Parse::RecDescent is a Perl module to generate Recursive-Descent Parsers. SYNOPSIS use Parse::RecDescent; # Generate a parser from the specification in $grammar: $parser = new Parse::RecDescent ($grammar); # Generate a parser from the specification in $othergrammar $anotherparser =...
Platforms: *nix
License: Freeware | Size: 122.88 KB | Download (95): Parse::RecDescent Download |
Yapps (Yet Another Python Parser System) is an easy to use parser generator that is written in Python and generates Python code. Yapps2 is simple, is easy to use, and produces human-readable parsers. It is not fast, powerful, or particularly flexible. Yapps is designed to be used when regular...
Platforms: *nix
License: Freeware | Size: 61.44 KB | Download (39): Yapps2 Download |
FLAT::Legacy::FA::RE is a regular expression base class. SYNOPSIS use FLAT::Legacy::FA::RE; use FLAT::Legacy::FA::NFA; my $re = RE->new(); $re->set_re(a|b|(hi)*); my $nfa = $re->to_nfa(); print $nfa->info(); # see stuff on NFA my $dfa = $nfa->to_dfa(); print $dfa->info(); # see stuff...
Platforms: *nix
License: Freeware | Size: 32.77 KB | Download (117): FLAT::Legacy::FA::RE Download |
Common Text Transformation Library, CTTL for short, is a set of C++ classes and functions to understand and modify text data. Common Text Transformation Library implementation is based on STL classes and algorithms. Concept of a substring plays major role in design of the text transformation...
Platforms: *nix
License: Freeware | Size: 163.84 KB | Download (100): Common Text Transformation Library Download |
TinyPie is a tree-based interpreter for a simple programming language with a Python-like syntax. It's based on Pie language from Language Implementation Patterns Ch.9 Quote from the book: "A tree-based interpreter is like a compiler front end with an interpreter grafted onto the end instead of a...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (44): TinyPie Download |
LEPL is a parser library for Python 2.6 and 3.0 with recursive descent and full backtracking. #md5=694bdd7d25d6ca4d69ead16587b227a4
Platforms: *nix
License: Freeware | Size: 184.32 KB | Download (44): LEPL for linux Download |
Parser combinators are just higher-order functions that take parsers as their arguments and return them as result values. Parser combinators are: * First-class values * Extremely composable * Tend to make the code quite compact * Resemble the readable notation of xBNF grammars Parsers made...
Platforms: *nix
License: Freeware | Size: 30.72 KB | Download (39): funcparserlib Download |
Kelbt project can generate backtracking LALR parsers. Standard LALR parser generators emit an error upon encountering a conflict in the parse tables. Kelbt forges onward, generating parsers which handle conflicts by backtracking at runtime. Kelbt is able to generate a parser for any context-free...
Platforms: *nix
License: Freeware | Size: 215.04 KB | Download (87): Kelbt Download |
XML::Xerces::DOMParse is a Perl module for parsing DOMs. SYNOPSIS # Here;s an example that reads in an XML file from the # command line and then removes all formatting, re-adds # formatting and then prints the DOM back to a file. use XML::Xerces; use XML::Xerces::DOMParse; my $parser =...
Platforms: *nix
License: Freeware | Size: 133.12 KB | Download (99): XML::Xerces::DOMParse Download |
Greppes are GREP's that Edit with many options. They are programming or admin tools for Investigation and Change of any files on ANY PC's that use MS-DOS. They are oriented towards English byte characters but can be adapted for other languages to include UNICODE double bytes. PDGREPPE is Pattern...
Platforms: Windows, Linux
License: Freeware | Size: 321 KB | Download (407): GREPPES Text Tools Download |
Tri Text Tools (TTT's). TTT's operate in MS-DOS command line mode to perform Text Examination and Translation tasks that would daunt even the most experienced "Windows" operators. Few WINDOWS programs have been discovered by us that offer TEXT access into entire file systems achieved by TTT's....
Platforms: Windows, Linux
License: Freeware | Size: 185 KB | Download (403): Tri Text Tools Download |
Greppes: GREP's that Edit with Many Options. Two Programming or Admin tools for Investigation and Change of any files on ANY PC's that use MS-DOS 2.0+. Oriented towards English byte characters but can be adapted for other languages to include UNICODE double byte words. PDGREPPE: Pattern...
Platforms: Windows, Linux
License: Freeware | Size: 421 KB | Download (375): PENTA Text Tools Download |
RXPY is a regular expression library, written in Python, that is almost completely backwards compatible with the standard Python re library (only locale-based character groups are not supported). It has a modular design that allows different alphabets and engines to be used. This allows regular...
Platforms: Mac
License: Freeware | Size: 51.2 KB | Download (36): RXPY Download |
BBCode::Parser is a Perl module that parses BBCode tags. BBCode is a simplified markup language used in several online forums and bulletin boards. It originated with phpBB, and remains most popular among applications written in PHP. Generally, users author their posts in BBCode, and the forum...
Platforms: *nix
License: Freeware | Size: 51.2 KB | Download (112): BBCode::Parser Download |
RDFStore::Parser::SiRPAC is a Perl module that implements a streaming RDF Parser as a direct implementation of XML::Parser::Expat. SYNOPSIS use RDFStore::Parser::SiRPAC; use RDFStore::NodeFactory; my $p=new RDFStore::Parser::SiRPAC( ErrorContext => 2, Handlers => { Init => sub { print...
Platforms: *nix
License: Freeware | Size: 481.28 KB | Download (102): RDFStore::Parser::SiRPAC Download |