New Cocoa/Perl Bridge Released 27
bsartist writes "I've released the first version of a Cocoa/Perl bridge that I call CamelBones. It's alpha-quality but functional enough for the example application, a POD reader similar to MacPerl's Shuck, to be written entirely in Perl." There are other projects like this that have been started, though this is the first one I've seen (since the Rhapsody days, anyway) that has code available.
What about Perl development? (Score:2, Interesting)
Is it just my lack of googling skills, or are there +no+ Perl development tools for OS X? I mean, Apple designed a beautiful and wonderfully easy to use application development suite with ProjectBuilder and InterfaceBuilder that even I can use, and have written a few applescript apps for fun with it.
Why would Apple not include a Perl framework for ProjectBuilder? They include one for java, and even applescript, but not for Perl.
Anyone know of any good Perl development suites out there?
Re:What about Perl development? (Score:1, Interesting)
Make ProjectBuilder the best place for all programming
Re:What about Perl development? (Score:2)
Re:What about Perl development? (Score:1)
After the public flogging that the makers of REALBasic gave Cocoa, it would very nearly be worth the effort just to tweak their noses and be enter.
Re:What about Perl development? (Score:1)
Why create Cocoa bindings for REALbasic? What would that accomplish?
After the public flogging that the makers of REALBasic gave Cocoa, it would very nearly be worth the effort just to tweak their noses and be entertained by their reaction.
Re:What about Perl development? (Score:2)
Seems like an awful lot of work for such a tiny amount of amusement. In general, a lot of Mac users and some Mac developers seem to think that Cocoa is better, just because. It would be a lot more worth while to create an IDE that used perl+CB as it's programming engine, and added the niceities of RB, but leaving the GUI design to IB. Now, there are a lot of people who don't use or much like perl (including me, but I'm trying to like it, desperately) and would want another language. While BASIC blows, if you're writing bindings, why not write them for some Free BASIC interpreter, and make a free RB, that was very well at dealing with and working with Cocoa? I think that'd get them back in a much more fatal way, if that's the point.
One question for you... are you the Apple engineer that was working on this for the OS X build system, or is this a completely independent project?
Re:What about Perl development? (Score:1)
One question for you... are you the Apple engineer that was working on this for the OS X build system, or is this a completely independent project?
No, that's not me. I heard about that project about a year ago, but I hadn't seen any signs of it being released or supported outside of Apple, so about two months ago, I decided to have a go at it myself. I downloaded the Python/ObjC bridge to study the technique they're using, studied the perlguts and perlapi man pages, and well, here we are.
We have talked before, though, on MacSlash. I use the handle "sherm" over there.
Re:What about Perl development? (Score:2)
Re:What about Perl development? (Score:3, Informative)
Re:What about Perl development? (Score:2)
Yeah, that's what I mean. Since we now have some tools (ie: the one this article is about) to get embeded Perl into our ObjC projects, you'd think that Apple would let write the Perl in ProjectBuilder as well. Granted, Apple isn't writing this embedded Perl funcationality, but I think it would be handy.
Re:What about Perl development? (Score:4, Informative)
Re:What about Perl development? (Score:1)
Re:What about Perl development? (Score:2, Informative)
You can run scripts, check syntax, even access perldocs from within BBEdit on a highlighted function name.
I can't forsee Project Builder including Perl... PB is for creating applications, not writing scripts.
Re:What about Perl development? (Score:2)
But keep your eyes out. With this badass new CamelBones stuffs, I'm going to try and developer a Smalltalk-like IDE for perl. mmmm, NSBrowser.
BBEdit (Score:2, Interesting)
I really like BBEdit as well. I'm not sure why, but I suspect it's at least partially because it doesn't try to be your operating system. It doesn't bog you down with masses of toolbars, tabs file browsers, etc. This is where HomeSite become unusable for me.
There's no particular set of features that make BBEdit special. It may be the philoshopy the developers applied to the application more than anything -- it doesn't make any of those stupid really obvious mistakes that drive one insane. But certainly the focused approached to editing is a big lure. It gets out of your way and lets you focus on what you're doing.
On the other hand, Project Builder is nice.
- Scott
Re:What about Perl development? (Score:2)
Excellent (Score:3, Insightful)
-jeff
Re:Excellent (Score:1)
Re:Excellent (Score:1)
Otherwise, work up that documentation. :^)
Hell yeah! (and other bridges) (Score:3, Interesting)
Good to see this. I emailed the author about it coming out, and had a bad feeling it would never get released. (why? dunno, just a feeling)
OS X as a great scripting/RAD environment (Score:4, Informative)
Take ShuX, the POD viewer for OS X mentioned above, for example. It's written in perl, and aside the perl system that comes with OS X, all it requires is the CamelBridge.framework. When the user decompresses the ShuX tarball, they're presented with a
They could stuff-it up and send it to a friend- and provided they that had the CamelBridge framework, the recipient could run the app with no fuss. No screwing around with extra dependencies, installing libs, making sure the
AFAIK, this problem hasn't been solved anywhere near this elegantly on other platforms. Keep the user experience very consistent and pleasing, but gives the developer all the option she wants!
Re:OS X as a great scripting/RAD environment (Score:3, Insightful)
I was actually thinking that was a big deal, because of CPAN. For all but a few developer's machines, it's pretty safe to assume a bone-stock Perl configuration, with no CPAN modules installed. You can package CPAN modules with your app, so that the end user doesn't have to install them.
Re:OS X as a great scripting/RAD environment (Score:2)
Re: (Score:2)
Re:Unicode? (Score:3, Informative)