F-Script
F-Script copied to clipboard
iOS Compilation Changes
The vast majority of the changes are simple -- Foundation import instead of AppKit, avoiding NSPoint/NSRect/NSSize on iOS (#if TARGET_OS_IPHONE).
Bulk of the change set is including an iOS compatible libffi (from https://github.com/parmanoir/jscocoa/ ).
FSMethod required changes as NSMapTable doesn't exist -- I've made a separate copy of this for iOS, as I'm not entirely sure about the changes.
NSAllocateCollectable and siblings don't exist -- So they were implemented in iOS-glue, behaving as I believe these would on a non-GC system.
Looks great. I'm a bit overloaded right now but will take care of it as soon as I get some time.
Philippe
Le 16 août 2011 à 22:31, pablomarx a écrit :
The vast majority of the changes are simple -- Foundation import instead of AppKit, avoiding NSPoint/NSRect/NSSize on iOS (#if TARGET_OS_IPHONE).
Bulk of the change set is including an iOS compatible libffi (from https://github.com/parmanoir/jscocoa/ ).
FSMethod required changes as NSMapTable doesn't exist -- I've made a separate copy of this for iOS, as I'm not entirely sure about the changes.
NSAllocateCollectable and siblings don't exist -- So they were implemented in iOS-glue, behaving as I believe these would on a non-GC system.
Reply to this email directly or view it on GitHub: https://github.com/pmougin/F-Script/pull/2