2 ms·
Anybody try writing an iPhone app with MoonScript -> Lua -> Wax -> Objective C?
by aashay 15y ago
Anybody try writing an iPhone app with MoonScript -> Lua -> Wax -> Objective C?
- chriseidhof 15y agoExactly! I think they only need some kind of way to add syntax for obj-c style messages. If only objc would remove the square brackets (and stay true to smalltalk), the syntax would be so much nicer: NSArray* array = NSArray alloc init autorelease NSDictionary* dict = NSDictionary dictionaryWithObjectsAndKeys:obj,key,nil ...
- jacques_chester 15y ago> Exactly! I think they only need some kind of way to add syntax for obj-c style messages. http://olua.sourceforge.net/ http://olua.sourceforge.net/ ? > If only objc would remove the square brackets (and stay true to smalltalk), the syntax would be so much nicer: Objective C is (or at least it used to be, not sure ATM) a strict superset of C. One of the ways this is achieved is through having orthogonal syntax for the smalltalk-ish bits compared to classic C.