scriptygoddess

04 Sep, 2002

Creating Color Parsers for Homesite

Posted by: dave In: Bookmarks

Well, I don't know about anyone else, but I manically use Homesite for my HTML/PHP needs. One of my big beefs with it is its lack of "non-web" language parsers, meaning that HS does not color code anything beyond the basic web languages. (Also, this parser stuff may work for Dreamweaver MX)

So, I poked around for a bit & found a few sites that teach you how to write a color parser for Homesite. Turns out its real easy to do, more tedious than anything else…

I'm currently working on a parser for the Windows Scripting Host (something that I'll be covering in future posts), and if people are interested, I can post the parser here when complete.

On with the links!

Blow by Blow Tutorial for Parsers
Some Good Parsers for Examples (I built my WSH parser based on the Vb.Net parser)
FAQ on Parsers
ScriptBuilder (ultra simple GUI for parsers)

When I post my WSH parser I'll go over some tricks and tips on writing these suckers…

3 Responses to "Creating Color Parsers for Homesite"

1 | Quadsk8

September 4th, 2002 at 4:37 pm

Avatar

How about <$MTTags$> and <MTTags> while you're at it?

2 | goddessDave

September 4th, 2002 at 6:55 pm

Avatar

Sure… once you understand how to do it, you can have HS color code any tag… one problem is that HS does not ship with the source files for its color parsers (HS actually compiles your color parser scripts for you…)

That means that you simply can not simply "add in" new tags to your existing HTML color parser. However, ScriptBuilder ships with a bunch of sample files, one of which may be an HTML parser script. It would then be a simple matter of adding what tags you want, and installing the new parser into HS, and associating the HTML file types with the new parser.

I'll go over how to do all that in a future post.

3 | Jennifer

September 4th, 2002 at 10:34 pm

Avatar

YAY! You rock! :)

Featured Sponsors

Genesis Framework for WordPress

Advertise Here


  • Scott: Just moved changed the site URL as WP's installed in a subfolder. Cookie clearance worked for me. Thanks!
  • Stephen Lareau: Hi great blog thanks. Just thought I would add that it helps to put target = like this:1-800-555-1212 and
  • Cord Blomquist: Jennifer, you may want to check out tp2wp.com, a new service my company just launched that converts TypePad and Movable Type export files into WordPre

About


Advertisements