NAME
Plosurin::Grammar - Grammars for Closure Templates
SYNOPSIS
use Regexp::Grammars;
use Plosurin::Grammar;
DESCRIPTION
Plosurin::Grammar - Grammars for Closure Templates
Plosurin::Template::Grammar - template file grammar
qr{
my $r = qr{
<extends: Plosurin::Template::Grammar>
<matchline>
\A <File> \Z
}xms;
if ( $txt =~ $r) {
...
}
Plosurin::Grammar - soy grammar
my $r = qr{
<extends: Plosurin::Grammar>
\A <[content]>* \Z
}xms;
if ( $txt =~ $r) {
...
}
Plosurin::Exp::Grammar - Expression grammar
SEE ALSO
Closure Templates Documentation http://code.google.com/closure/templates/docs/overview.html
Perl 6 implementation https://github.com/zag/plosurin
AUTHOR
Zahatski Aliaksandr, <zag@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 by Zahatski Aliaksandr
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.