RubyGems Navigation menu

antlr3 1.8.11

Fully-featured ANTLR 3 parser generation for Ruby. ANTLR (ANother Tool for Language Recognition) is a tool that is used to generate code for performing a variety of language recognition tasks: lexing, parsing, abstract syntax tree construction and manipulation, tree structure recognition, and input translation. The tool operates similarly to other parser generators, taking in a grammar specification written in the special ANTLR metalanguage and producing source code that implements the recognition functionality. While the tool itself is implemented in Java, it has an extensible design that allows for code generation in other programming languages. To implement an ANTLR language target, a developer may supply a set of templates written in the StringTemplate (http://www.stringtemplate.org) language. ANTLR is currently distributed with a fairly limited Ruby target implementation. While it does provide implementation for basic lexer and parser classes, the target does not provide any implementation for abstract syntax tree construction, tree parser class generation, input translation, or a number of the other ANTLR features that give the program an edge over traditional code generators. This gem packages together a complete implementation of the majority of features ANTLR provides for other language targets, such as Java and Python. It contains: * A customized version of the latest ANTLR program, bundling all necessary java code and templates for producing fully featured language recognition in ruby code * a ruby run-time library that collects classes used throughout the code that ANTLR generates * a wrapper script, `antlr4ruby', which executes the ANTLR command line tool after ensuring the ANTLR jar is Java's class path

Gemfile:
= Copier Copié!

installation:
=

Versions:

  1. 1.10.0 - September 09, 2013 (2,44 Mo)
  2. 1.9.2 - August 05, 2013 (2,44 Mo)
  3. 1.9.1 - August 05, 2013 (2,44 Mo)
  4. 1.9.0 - August 05, 2013 (2,44 Mo)
  5. 1.8.13 - July 17, 2013 (1,96 Mo)
  6. 1.8.11 - April 01, 2011 (1,96 Mo)
Voir toutes les versions (22)

Propriétaires:

Auteurs:

  • Kyle Yetter

Total de contrôle SHA 256:

5466f64948663e8293ddeb4dde1f9657d6583687504ffd8f4d41c118a66083e8

Total de téléchargements 169 839

Pour cette version 4 757

License:

aucune

Version de Ruby requise: >= 1.8.7

Liens: