Comments (5)
I just recompiled the framework, it changed the message (acondit turned into my user name).
So I copied the framework into my Library folder, and now it works !
Is there any way to embed the framework into an app ? (without having to copy its in Library).
from antlr3-objc2.0-runtime.
The import statement should read #import <ANTLR/ANTLR.h>
that causes it to import ANTLR.h from the ANTLR.framework
I will try to upload the fixes to GitHub tomorrow. Then you will need to re-download the fixes and rebuild ANTLR3 jar because it is a fix to ObjC.st template. There are a number of recent changes that I will be posting as well. Largely stuff related to effort to implement Stringtemplate.
AFAIK the answer is no, it is built as a framework.
from antlr3-objc2.0-runtime.
I'm not an expert in framework developing, but I know frameworks that can be embedded in an app package (in *.app/Contents/Frameworks)
Examples :
Sparkle : http://sparkle.andymatuschak.org/ ,
BWToolkit : http://www.brandonwalkin.com/bwtoolkit/ ,
Growl : http://growl.info/
Edit : I have found documentation : http://developer.apple.com/library/mac/#documentation/MacOSX/Conceptual/BPFrameworks/Tasks/CreatingFrameworks.html%23//apple_ref/doc/uid/20002258-106880
from antlr3-objc2.0-runtime.
Sweet, so now if you want to embed a copy of the framework in your application you know how. Thanks for finding the info.
By the way I uploaded the fix to the import header statement last night.
from antlr3-objc2.0-runtime.
I tried the new version. There are still some problems :
There is a double-quote after the import : #import <ANTLR/ANTLR.h>"
, it produces a syntax error.
Secondly, in the parser file, I got something like that :
set14=(ANTLRCommonToken)[input LT:1];
set14 = (ANTLRCommonToken *)[input LT:1];
If I remove the first line, it works well.
from antlr3-objc2.0-runtime.
Related Issues (14)
- Xcode complaining about getScope and setScope's type HOT 1
- Antlr 3.4, Sparql Grammar & java.lang.ArrayIndexOutOfBoundsException HOT 3
- ANTLR.framework HashMap.m missing numerous interface declarations HOT 3
- Files missing from XCode project. HOT 2
- Headers should import Foundation/Foundation.h instead of Cocoa/Cocoa.h HOT 4
- Need help on using ANTLR3 library for Objective-C
- Generated lexers do not include antlr3commontoken.h HOT 2
- Identifiers in generated parsers are prefixed with the grammer name HOT 3
- About error handling HOT 9
- EXC_BAD_INSTRUCTION HOT 2
- Hardcoded path in ANTLR Project HOT 2
- no such attribute: elementIndex in template context [lexerStringRef] HOT 3
- Linker Ignores Framework HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from antlr3-objc2.0-runtime.