Pacu 1.2 - haXified and cocoanized

posted by frank at May 27th, 2010

I'm happy to announce the immediate availability of Pacu 1.2. This version is mainly a bug fix and feature consolidation release. Besides lots of bug fixes, it brings two major improvements: Wider language support for syntax highlighting and a more native build for OS X. The Charcoal highlighting engine was extended to read case-insensitive grammars and adds supports for the following languages: Actionscript 3, haXe, CSS2, Tex/LaTex and SQL. For the haXe language there is a special feature included: Code Browsing. To open up the code browser goto the "View" menu. If you are a haXe user, try it out and let me know if you like it!

On the platform support side, Pacu now ships with a "fat" version of the latest Qt 4.7-beta/Cocoa for Mac. It took me a whopping one-and-a-half weeks to port Pacu to this new version of Qt and thereby enable Cocoa, 64bit and PPC support. On the other hand I must think: How long would it haven taken to port such an application from Objective-C/Cocoa to Linux? (Ahh, right, you weren't supposed to leave the walled garden.) Qt still rocks, even if I miss the visionary drive it once had. And yes you read right, PowerPC support, although I don't own one myself. If you are a PowerPC user, let me know how it works out for you.

Tags: Pacu, haXe, Cocoa, Qt


Comments

avatar Pelle
2010-06-01 09:58 PM
Nice work! It really does looks like a cocoa mac application!
I regret to say that other than starting it up, and browsing some code i've written, i did not do any extensive testing. The reason being this;
I need a decent code browser. I suppose the code browser in pacu only does haXe?

btw, i mainly do python development, but a code browser for all the languages supported by pacu would be nice. That's probably asking for a whole lot though. LOL.

Keep up the good work. :)

avatar frank
2010-06-01 11:29 PM
@Pelle: Thanks for your feedback. Yes, currently only haXe is supported for code browsing. The grammar and stack file in the 'charcoal' folder inside the Pacu.app bundle need to be prepared appropriately. Currently that's only the case for haXe, but it should be possible to have it for all the other languages, too.

For me the need for "code browsing" comes up only occasionally, when I'm handling long files. Then I would like to navigate easily and bookmark certain members (not line number bookmarks but real Class#Function bookmarks, which would work even after patching).

I'm still working on this feature. Maybe you are also looking for a code browser showing entire directories, with some quick indexing and lookup. Let me know if you have other suggestions. The more requirements I get the better, then I can choose those which don't contradict;)

avatar Pelle
2010-06-03 05:29 PM
I suppose i should do myself a favor, and split my code in smaller files, but my coding style seems to produce files that are a few hundred lines long. :P

For me it's less about "bookmarking", and more about "overview". With a good code browser, there's no need for features such as, for example, code folding IMHO.
I'm sorry to say very few OS X code editors do this. There's this drop down menu (symbol browser) in a few OS X editors, but that's not the same thing as a side pane code browser.

I'm not looking for a code browser that shows me anything other than the actual document i'm working on, but functionality beyond that wouldn't hurt, of course.
What would be nice though, is if pacu could index open documents in the editor, or possibly in the same directory, for showing calltips in the editor, for classes/methods and functions it did index.

avatar frank
2010-06-03 05:59 PM
Improvement of the Python is currently on my to-do-list. I'll let you know when it's ready for testing.

Add a comment





I accept the private privacy*.

simple_captcha.jpg
Are you human?

PreviousBack to blog