Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: c59cfbdcdd
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (31 sloc) 0.585 kb
#!/usr/bin/env perl6
use v6;
use Test;
use Plosurin;
my $txt= '{namespace rname.sample}
* Comment line
* @param? par1 Some comment
* @param par2 Some comment
{template .Hello}
* Comment2
* @param 12 1244
* @param Rrt 1244
{template .Hello1}
* Coksd
{template .Hello3}
my $res = Plosurin::Grammar.parse($txt, :actions( ));
ok $res, 'grammar';
is_deeply [$/.ast.values».WHAT».perl], ["Template", "Template", "Template"], 'objects';
Jump to Line
Something went wrong with that request. Please try again.