darren chamberlain wrote:
> Where is this mythical TT3?
I've nearly finished writing it in my head, but I'm only now just starting
to transcribe it out of the ethereal into hard, cold bits. :-)
Some major parts of it will be Coming Real Soon Now. I've spent the
last week or so working on the new parser which is really critical to
everything. That depended on some language issues which depended on
some syntax issues which depended on some semantic issues which made
my brain hurt for a while.
But I think it's nearly there. Expect a public TT3 CVS repository just
as soon as I can fix things up so that they work together properly.
It won't be anywhere near finished, but just the basic outline of the
new bits that will need fitting in and filling out. There will be
plenty left to be done by willing helpers. :-)
> How would this work? I would like to see layered grammars, where you
> can have a specialized grammar that conditionally overrides pieces of
> a more general grammar (or grammars).
Yep, that's the essence. And you should be able to customise a grammar
within a lexical scope.
For example, you could define a LIST block directive which defines
an ITEM directive, valid only within the confines of the LIST block.
[% LIST 'Magic Folk' %]
[% ITEM 'Santa Claus' %]
[% ITEM 'Tooth Fairy' %]
[% END %]
I'll let you know how it works in a couple of hours[1]... I'm working on
that particular issue right now.
> What would DO do? There used to be an item in the TODO list about DO,
> but it went away; when I implemented the DO referenced in September, it
> was missing from the TODO.
TODO or not TODO? That is the question!
As to what DO would do, I think that I thought That DO would one day do,
exactly that which you had already made DO do. :-)
A
[1] That's Real Work Hours, which doesn't necessarily correspond to
Real Life Hours, of course... I'm currently under attack from a
3 year old who has other plans for my time right now.... :-)
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.ourshack.com/mailman/listinfo/templates