On Tue, 2004-05-25 at 08:20, DaniÃl Mantione wrote: > To those unknown to the OpenACS compiler; OpenACS has its own adp parser > which is way more powerfull than the AOLserver adp parser.
Actually the OpenACS parser doesn't exist, ATS uses ns_register_adptag and ns_adp_parse. One big problem with this setup is that recusion is difficult, making it difficult to extend the templating system, but it works great for tags which do not need to parse their content. > What's the idea? Well, such a compiler would not be a very large piece of > Tcl code as far as I can see, Tcl is very limited in data structures. You would need to be able to map each PHP data structure to tcl. > Well, I was that enthousiastic of the idea that I started doing > programming, and within 3 hours (!) I programmed a working tokenizer for > PHP. A parser would be a bit more work of course, but it seems the idea is > very feasible. I've done a template tokenizer/parser/compiler for a tcl-like templating language to tcl code, I'd like to do the same thing with PHP. It would be interesting to see what a tokenizer for PHP looks like. tom jackson -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
