Textmate Bundle

Started by Jeff, April 07, 2007, 09:03:48 AM

Previous topic - Next topic

Jeff

I've been working on a textmate bundle for newLISP along with a theme.  They aren't complete yet, but they work.  The bundle includes:



* newLISP syntax/keywords

* evaluate file (sends to newlisp and reports in a new window) (cmd r)

* evaluate selection (same again, but for selected text) (cmd e)

** both of these use `time` to time the runtime on the command



The theme just highlights about the same colors as the syntax highlighter on the site.  Folding is *not* working in the bundle, and if anyone has a good idea of how to get it working, please feel free to let me know so I can start taking credit immediately.



You can download them both here:



http://lutze.nfshost.com/">http://lutze.nfshost.com/
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

cormullion

#1
cool.



don't forget to add your name to



http://macromates.com/wiki/Polls/WhichLanguageDoYouUse">//http://macromates.com/wiki/Polls/WhichLanguageDoYouUse



- I would have done so too, but my 30 day trial expired.. :-/

Jeff

#2
Done.  Textmate is worth the money.  It's about the only program I've ever used that I have felt that way about :)
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

cormullion

#3
It's an amazingly powerful system. I spent a good few hours working on the newLISP bundle as well - and I think I wrote about it as well somewhere, even though I never really got the better of it. I was - and am - still torn between BBEdit and TextMate, even though they're so very different. When I'm back in employment I'll treat myself.. :-)

Jeff

#4
I have used bbedit, and if I had several hundred bucks expendable budget, it would probably go to my house rather than an editor.  It's a decent editor, but I prefer the folder tree rather than a flat list of open files in my sidebar.  I also prefer the size and feel of texmate :)
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

Jeff

#5
Updated today. Fixed some coloring issues, added `time` to bash script that evaluates the file/selection, fixed some keyword recognition issues, etc.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

johnd

#6
I've just started using Textmate, and I'm thrilled there is a bundle for newlisp.  Jeff, thank you for creating it.



Has this been tested on the most recent version of Textmate?  When I doubleclick on the bundle icon Textmate tells me that the info.plist is either missing or corrupted (it's not missing).



When the file is added directly to ~/Library/Application Support/TextMate/Bundles/ it is not recognized.



The theme file seems to work fine.



Thanks.



John

Jeff

#7
Hmmm. Not sure what could be causing that. I use the latest rev and it works on mine. If you move it manually into /Users/foo/Library/Application Support/Textmate/Bundles/, you will need to restart the application to have it recognized.  I'll take a look this weekend if I can and see if I can figure it out.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

Jeff

#8
Should be fixed now.  I've also updated it to support folding and a better theme.



Clarification: folding is supported for define/define-macro only, due to limitations in either textmate or my brain.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

Lutz

#9
I also have put a link to this on http://newlisp.org/index.cgi?Code_Contributions">http://newlisp.org/index.cgi?Code_Contributions (with your permission?)



Lutz

Jeff

#10
Of course.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

johnd

#11
Thanks again Jeff.  I'm really looking forward to using this.



John