SkillAgentSearch skills...

Stringtemplate

PHP Port of StringTemplate library

Install / Use

/learn @ewiger/Stringtemplate
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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.

Related Skills

View on GitHub
GitHub Stars6
CategoryDevelopment
Updated5y ago
Forks0

Languages

Java

Security Score

55/100

Audited on Apr 5, 2020

No findings