Skip to content

uebayasi/tmpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tmpl - simple template scanner

SYNTAX

~{foo~} is replaced with the value of foo (expand)

~{foo~} expands ~{foo~} when foo is not defined (unexpand)

~{foo~=a~} sets foo to a (global)

~{foo~=a~=b~=c~} sets foo to a, a to b, and b to c (global list)

~{i~@foo~@xxx~{i~}xxx~} expands xxx~{i~}xxx with i set to values of foo (template)

xxx~{i~|hoge~|~{i~}~}xxx~{i~}xxx expands xxxhogexxx~{i~}xxx (local)

~{i~/x~/axbxc~/xxx~{i~}xxx ~} expands xxxaxxxx xxxbxxx xxxcxxx (split)

About

simple template scanner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published