-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discussion: What about Swift-based F-Script? #11
Comments
You mean F-Script as a language or as an application to inject into apps? |
I guess I mean both: I understand F-Script should be able to explore Swift applications. But being able to use the more strict Swift semantics would be helpful. |
Are we talking here about Swift support? Because I couldn't get it to work from a .swift file; got a lot of errors and warnings. I thought Swift support would be automatic, but obviously it isn't. Any chance to get it to support it? |
I definitely want this. Could you share all the errors and warning you've seen? Could you also publish a demo project that demonstrates them? |
To trigger the errors it is enough to include the F-Script framework to your app and add "#import <FScript/FScript.h>" to the bridging header file. The errors (I have shortened the path to the framework for readability sake):
|
It looks like the Swift Playgrounds are something that could be done via F-Script. In addition, given that Swift code will be using the Objective-C runtime, message passing to Swift objects should be possible. Are there any ideas for a Yosemite/Swift version of F-Script?
The text was updated successfully, but these errors were encountered: