Re: New to ClearSilver, need pointers for Template Toolkit compatibility.
Brandon Long <[email protected]> Thu, 20 Mar 2008 19:11:37 -0800
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Organization | Fiction L Networks |
| Message-ID | <20080321031137.GA19511@bl1> |
um, I think you'd be better off writing something to convert the
templates, rather then trying to extend clearsilver with a fairly
differnet syntax.
Brandon
On 03/21/08 xudong_yan uttered the following other thing:
> I am working on a project with 2 UI frameworks:
>
> 1) a legacy one with perl + Template Toolkit
>
> 2) a second one in PHP, where we are adpoting ClearSilver.
>
> While our future templates will be in cs, we have a body of older
> templates in TT tags. It would be perfect if we can adapt the CS
> grammar to be able to parse TT templates. Even a subset of the TT tags
> will be good for us.
>
> How hard is it to adapt or make configurable, the grammar / parsing
> portion of cs? I notice cs_parse.c isn't using lex/yacc or some
> parsing framework. How would you start doing something like this?
>
> Thanks
>
> XY
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
--
"Here's a nickel, kid. Get yourself a better computer."
-"Dilbert" by Scott Adams 6-24-95
http://www.fiction.net/blong/