New Cocoa/Perl Bridge Released
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.
I like to see people out there using Perl. I guess it's mainly because it's the language I use almost exclusively. I just bought a new iBook (14.1lcd, 600mhz, combo drive model), and I can say the main selling point for me was the Darwin base. To be able to have a Perl compiler with me wherever I go is _very_ handy.
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?
visit my free wallpaper collection, wp.erasei.com
I'm excited about this, and will certainly be watching it develop. There are times when embedding Perl into ObjC would be really helpful (for example, using Perl rather than TCL as an embedded tool language), and if this project works out, it will provide a very useful tool for the MacOS X developer community.
-jeff
-- Two men say they're Jesus. One of them must be wrong. - Dire Straits
This isn't the first XXXObjective-C bridge to come out for OS X. There's RubyCocoa, which works pretty well. Squeak has an (more generalized) Objective-C bridge. Lua has one. I believe the PyObjC bridge has released code as well, and works under OS X, although that project seems to be a lot more quiet than the others.
:)
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)
Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
One of the issues that hasn't really been solved on most platforms is the want to have a double-clickable app written in one of these high-level languages. In the case of RubyCocoa and CamelBridge, that problem is solved, thanks to OS X's awesome bundling system.
.app- a double-clickable, first-class Mac OS X application. To the user, it appears native in every way. They could easily copy it to other drives and folders with no problems.
.pl file is associated with the interpreter. If there are additional libraries that app requires, but aren't generally applicable, they can just be thrown in the Resources subfolder, along with the main.pl script. This isn't quite as big of a deal in perl, because of CPAN, but it could be a huge boon for those using other scripting languages.
:)
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!
Working toward a usable PDA environment in the spirit of Newton OS: Dynapad
I haven't been keeping up with Perl for the last few years, unfortunately. Is Perl fully capable of handling UTF-16 strings?
I'd love to be able to use Perl for string-bashing within Cocoa apps, and unicode is rather critical for interoperability with NSString.
-jcr
The only title of honor that a tyrant can grant is "Enemy of the State."
Now I can make a GUI for Infobot! Yay!!!
I will now redundantly add my name to the end of my post. You know, in case you forgot me or something.
A lot of people seem to love BBEdit. Not sure why, that feature list you cite isn't really outstanding for an IDE.
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
Scott Stevenson
Tree House Ideas