You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Jason van Zyl <jv...@periapt.com> on 2000/09/05 06:07:05 UTC

Update

Yo,

Tomorrow, night I will replace most of what's
it cvs (sans the servlet & runtime code).

I have a parser that now captures all
the semantic info WRT references. The
new parser adheres to webmacro syntax
(allows #begin/#end) for the most part.

As result of capturing the semantic
info WRT references I have replaced
the 1400 line WM introspection engine
with a recursive method with will resolve
all arbitrarily nested methods by
using the signature determined by
the parser. Right now it's about 80
lines, with proper error checking
and docs it will probably get up to
about 150. That's ~ 10% of the size
of the WM introspection engine.

I am also adding proper outputing
to with streams and writers. I am
currently looking at the WM FastWriter
and some Tomcat code that could be
used.

I am also looking at some class file
generating code that comes with the
Tea package from go.com. It's under
the APL so it can be incorportated
into Velocity.

I Hope that within a week there will
be a workable prototype along with
thorough docs and the design docs
I've been promising. At that point
I think it will be easier for others
to jump in with both feet :)

Tomorrow night I email the list before
I move the current velocity module to
velocity.old and import the new sources.
I am using the document that Justin Wells
sent as a test, it is parsing fine so
hopefully by tomorrow night we can start
doing some benchmarking.

jvz.

-- 

Jason van Zyl
jvanzyl@periapt.com