Forum OpenACS Development: Re: Developmnet tools, debuggers, IDEs, etc
Andrei, I wasn't going for look. I started the other thead with a set of criteria for my templating grammar. I initially thought there might be some benefit to an XML-like look, but alas, it isn't XML, and my purpose was beyond producing XML-like documents.
I believe the main problem with the XSL approach is that in order to place values inside other XML tags, you have to construct the tag, piece by piece. To me this is too verbose and unreadable.
As far as development tools, debuggers, etc. I shouldn't have much problem with my grammer, since I know it is a valid grammar. Debugging is easy: compiling checks the grammar, then you can read the simple tcl script which results to see if there are problems there. Getting Dreamweaver to recoginze the tags will also be easy. I could have separate icons for each language element, so that in design view, you could still tell what language tags were being used. Fortunately the template compiler is essentially complete. The resource tag was the last main requirement, allowing the developer to tailor exactly what is available to the designer. I'm still considering whether to add while and switch/case tags, but the for tag is too dangerous since it executes the first arg.