Re: [SMARTY-DEV] Smarty compiler

From: Date: Fri, 08 Nov 2002 12:12:55 +0000
Subject: Re: [SMARTY-DEV] Smarty compiler
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-330@lists.php.net to get a copy of this message
Brandon Inman [mailto:brinman2002@yahoo.com] wrote: > > Perhaps I should have been more specific in what I meant by > a "real compiler"! I didn't mean to suggest that smarty > should create binary files at all, but rather change the internal > workings of smarty to function as a complier and produce php code, > as Smarty does now. > I can see that the majority isn't interested in making the switch, > but I'll offer my opinions anyway. I am still offering to help in > other areas, assuming I haven't offended anyone too badly ;) > After reading your clarification I'd vote for a compiler-like redesign of the Smarty_Compiler class. One feature I tried to add (but dumped) was i18n for a project I'm working on; this would have introduced at-compiletime functions/modifiers, a new internal smarty variable ($Smarty->lang) and (depending on that) compiling one source to different intermediate files. Thomas

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