Giter Site home page Giter Site logo

beberlei / antlr-php-runtime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rollxx/antlr-php-runtime

9.0 2.0 1.0 5.03 MB

fork of the php antlr runtime project for generating php 5.3 only parsers

Home Page: http://code.google.com/p/antlrphpruntime/

Shell 0.07% Java 11.67% PHP 88.26%

antlr-php-runtime's Introduction

 History
 =======

October 2008 - initiation and work on the project by Sidharth Kuruvila

Starting from April 2009   - contributions by Yauhen Yakimovich


 Development
 ===========

Some examples are already working (See examples/import). Runtime is in alpha status. Primary
milstone is aimed at verification of Lexer, Parser generation.

A working ATNLRv3 tool with php target suppport can be found inside a "lib" folder.
File is called antlr-3.1.3-php.jar, you need to make sure that it is in your classpath together
with the rest of files in "lib". 

To make changes to Php target integration with a tool, take a look inside a "tool" folder. You can start
from looking at Php.stg StringTemplate group file.
You will also need a copy of ANTLR Tool sources to develop the php target. To do this copy the contents
of the directory "tool" into the corresponding directory in the anltr 3.1.3 source bundle. You can get the antlr
source bundle at http://www.antlr.org/download/. 

The test cases, found in the test directory, need PHPUnit3 to run. This should be available through pear,
instructions here http://www.phpunit.de/manual/3.3/en/installation.html, so I just download it
from http://pear.phpunit.de/get/.

antlr-php-runtime's People

Contributors

beberlei avatar rollxx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

ewiger

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.