IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New plist parsers...
I didn't think you needed to write a parser for that... just use the NSData dataWithContentsOfFile: method.

PyObjC looks very cool... one less thing that I need to write now. ;-) I can't tell from the website whether it's OS-X only or not.

I'd have the same question about f-script. The advantage of using Python is that the knowledge has wide application.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New Re: plist parsers...
Right, you don't need to write a parser if you're using ObjectiveC - its baked in. But if you're using Java, or Python sans ObjC, you will need to write one (well, for Java you can use mine). I don't have one in Python though.

FScript is basically smalltalk scripting using ObjectiveC objects. It does math with NSNumbers and supports Blocks (something we miss very much in ObjectiveC).

So you can do something like:

myNSArray do: [:ea | ea doSomethingCool].

Its just smalltalk scripting though - it has no support for making new classes. OTOH, you can pass around FScript Blocks - which are arbitrary code. If you're doing ObjectiveC and you need to provide user scripting, FScript is the bomb.

There's been a nifty hack called FScriptAnywhere that will fiddle an application's framework list to pull in FScript and put an FScript menu item on the menubar. There's also a GUI object inspector/navigator that you can use to dig around in a program. So you can monkey with objects in other people's applications and add new menu commands. Its pretty cool.




"Packed like lemmings into shiny metal boxes.
Contestants in a suicidal race."
    - Synchronicity II - The Police
Expand Edited by tuberculosis Aug. 21, 2007, 06:23:49 AM EDT
     External data philosophy - (inthane-chan) - (15)
         Some points to consider: - (admin) - (14)
             The data needs to be human readable/writeable. - (inthane-chan) - (13)
                 Use XML then. - (admin) - (6)
                     Damn, it's a reeses commercial! - (inthane-chan) - (2)
                         Anywhere you can run gcc - with a caveat: - (admin) - (1)
                             Re: Anywhere you can run gcc - with a caveat: - (deSitter)
                     PyObjC - (tuberculosis) - (2)
                         plist parsers... - (admin) - (1)
                             Re: plist parsers... - (tuberculosis)
                 First co-op project? - (tseliot) - (5)
                     (Which will be great when I grok WTF that means... ;-) ) -NT - (inthane-chan) - (4)
                         It basically means - (tseliot) - (3)
                             On the other hand... - (admin) - (2)
                                 On the gripping hand: - (admin)
                                 True - (tseliot)

We of the Church of Emacs feel that vi usage isn't a sin, but rather a penance.
46 ms