Skip to content

ewiger/stringtemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the port of ANTLR StringTemplate engine 3.2.1 by Terence Parr into PHP. 
The best way to check what is working is to run the unit tests.

>php test.php

Library requires the following frameworks:

* PHPUnit 3.4
* Zend Framework 1.10
* Antlr PHP Runtime 3.2

and above.

To generate grammar - get the latest Antlr runtime implementation for PHP.
It must contain an antlr-tool launching script, which you can invoke as 

../antlr-php-runtime/antlr-tool.sh src/php/Antlr/StringTemplate/Language/Group.g

an so on.

You must also extend your PHP include path with 'Antlr/Runtime/..' code 
in order to use StringTemplate.

--
wbr,
Y.Y.

About

PHP Port of StringTemplate library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages