Glen Foy | 26 Apr 21:05

Syntax styling for 5.2

I've updated a Fred styling utility for 5.2.  It does elaborate batch
and incremental styling:

color-coded-20b1.sea.hqx , version 2.0b1, 790 KB, MacOSX 10.4.10, MacOSX
10.5, MCL 5.2
www.clairvaux.org

Fred is a bit slower this time around. This is understandable because of
Unicode, but the previous parsing algorithm is now too slow on my
ancient powerbook.  This version of the utility uses a recursive
transition network parser.  RTNs are a good solution because they
maintain an internal stack.  The stack can be saved between keystrokes
and the computation resumes with the next keystroke, without having to
parse the entire top-level form.  Performance does not degrade as forms
get longer.  This is a bit like continuations in Scheme.

I bring this up because the utility looks the same and has the same
name, but there is a lot of new code.  I've been using it daily for a
couple of weeks now, and it appears to be solid.  But this is a beta
release.  If you find a bug, mail it to me.

-Glen

_______________________________________________
info-mcl mailing list
info-mcl@...
http://clozure.com/mailman/listinfo/info-mcl


Gmane