I need a grammar to parse Smarty .tpl template files ([url removed, login to view]) both for the Smarty tags and the HTML tags. The grammar should be based on any CPAN available parser like Parse::RecDescent or Parse::Yapp allowing Text::Balanced for opening/closing tag detection.
To test the grammar file, a simple parser to report tag events is sufficient (and you will most likely have one as develop the grammar): Opening tag discoverd - Closing tag discovered.
The deliverables are thus the grammar file and the test driver.
Payment via escrow here on GAF. Please post if you have any questions.
2 freelancers are bidding on average $53 for this job
i had deal with Smarty and perl parsers: the Parse::RecDescent, HTML::Parser and HTML::Template. What exact features of Smarty you need?
we have 3+ year Exp in web based application ,Portal devlopment, enhancment etc. we have core expertise of java,J2ee,JSP,EJB,servlet, perl,oracle,sql server, .NET, PHP,flash etc. servers like weblogic,Tomcat,wesphere,j Daha Fazla