Smarty parser (was RE: [SMARTY] Variables and math)

From: Date: Fri, 01 Nov 2002 22:11:35 +0000
Subject: Smarty parser (was RE: [SMARTY] Variables and math)
References: 1  Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-313@lists.php.net to get a copy of this message
> >I think Smarty is ready to be converted into a "real" compiler (that is >something that works like a real lexical (or whatever it's >called) compiler, >not just a lot of regexps and logic behind). But that's just >me :) It would >be easier to apply optimizations this way and to mantain the >code. It's a >big move however. That's an interesting idea. Anyone know if there's a php-producing analog to bison? We'd want to avoid generating OS-specific executables at all costs, I'm sure. I don't know if it would be possible to maintain backward compatibility with a LALR(1)-based version of Smarty syntax. Gary

« previous php.smarty.dev (#313) next »