[TxMt] Re: How about AppleScript HTMLizer ? was (Re: output pretty printing HTML in "Show as HTML" [SOLVED])

Jacob Rus jrus at hcs.harvard.edu
Mon Nov 20 03:43:01 UTC 2006


Yvon Thoraval wrote:
> do you know of a lexer for AppleScript and pygments and/or any other 
> (x)htmlizer (ruby prefered ?)

You can't really handle AppleScript without a full AppleScript compiler. 
  TM's AppleScript language grammar tries to do the best it can, but 
there are several places where it's impossible to color things correctly 
without basing parsing on application script dictionaries used by the 
script.

I think there are some tools that can get that info from Script Editor, 
for putting correctly highlighted scripts on the web.  Not sure where to 
find them though.  Maybe try some of the scripting sites?

-Jacob




More information about the textmate mailing list