GithubHelp home page GithubHelp logo

tiandiyixian / antlr3-objc2.0-runtime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from muggins/antlr3-objc2.0-runtime

0.0 0.0 0.0 21.48 MB

Objective C 2.0 Runtime for Antlr3

Objective-C 94.15% GAP 0.46% Java 5.39%

antlr3-objc2.0-runtime's Introduction

ANTLR version 3 supports target language generation for the lexical
analyzer and parsers. Objective C was supported previously but had not
been brought up to date for some time. This release is built on the work
by Kay Roepke, Ian Michell and Alan Condit.

The project is currently working sufficiently for me to use it in compiling
my grammar and tree walker. I am sure that it still has some bugs but I have
fixed all of the bugs that I have found so far.

The project consists of an Objective-C runtime framework that must be
installed in /Library/Frameworks.

It also requires the installation of the String Template files to
support the target language code generation. Hopefully, at some point
they will be incorporated into the ANTLR release code, so that the
individual user doesn't have to do anything but load the framework into
the proper location. However, for now you need to create an ObjC
directory in antlr-3.2/tool/src/main/resources/org/antlr/codegen/templates
and then copy the ObjC ".stg" files to 
antlr-3.2/tool/src/main/resources/org/antlr/codegen/templates/ObjC/*.

There is also a java file ObjCTarget.java that goes in <
antlr-3.2/tool/src/main/java/org/antlr/codegen/ObjCTarget/Java>.

If you are using Antlr3.3 the code from here is included with the Antlr tarball. You just need
to copy the ANTLR.framework to /Library/Frameworks.

antlr3.4.1
Feb. 22, 2012 -- I just uploaded a new binary(zipped) copy of the ANTLR.framework and antlr3.4.jar 
that has all of the renaming changes that I did to match the Java source names and 
fixes to the DFA transitions. This is antlr-3.4.1.jar.

antlr3-objc2.0-runtime's People

Contributors

yspadadden avatar

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.