Textmate Bundle

For the Compleat Fan
Locked
Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Textmate Bundle

Post by 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/
Jeff
=====
Old programmers don't die. They just parse on...

Artful code

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

cool.

don't forget to add your name to

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

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

Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

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...

Artful code

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

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
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

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...

Artful code

Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

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...

Artful code

johnd
Posts: 18
Joined: Mon May 09, 2005 7:54 pm
Location: San Francisco, CA

Textmate Versions

Post by johnd »

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
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

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...

Artful code

Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

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...

Artful code

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Post by Lutz »

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

Lutz

Jeff
Posts: 604
Joined: Sat Apr 07, 2007 2:23 pm
Location: Ohio
Contact:

Post by Jeff »

Of course.
Jeff
=====
Old programmers don't die. They just parse on...

Artful code

johnd
Posts: 18
Joined: Mon May 09, 2005 7:54 pm
Location: San Francisco, CA

Post by johnd »

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

John

Locked