Perl6-Pugs
view release on metacpan or search on metacpan
misc/pX/Common/lrep-compiler/Grammar/Perl6.pm.bak view on Meta::CPAN
889890891892893894895896897898899900901902903904905906907908909
sub
{
$grammar
->ident(
@_
) }
, concat(
optional(
sub
{
$grammar
->p6ws(
@_
) }
)
, concat(
constant(
';'
)
, abort(
sub
{
return
{
bool
=> 1,
tail
=>
$_
[0],
return
=>
sub
{
# XXX This is perl5 code
# this is ugly
eval
'require '
.
$_
[0]->() ->[2]{ident}[0]{ident};
return
{
require_bareword
=>
$_
[0]->() ,}
} };
}
)
)
)
)
)
misc/pX/Common/lrep-compiler/Grammar/Perl6.pm.bak view on Meta::CPAN
927928929930931932933934935936937938939940941942943944945946947
sub
{
$grammar
->ident(
@_
) }
, concat(
optional(
sub
{
$grammar
->p6ws(
@_
) }
)
, concat(
constant(
';'
)
, abort(
sub
{
return
{
bool
=> 1,
tail
=>
$_
[0],
return
=>
sub
{
# XXX This is perl5 code
# this is ugly
# eval 'use '. $_[0]->() ->[2]{ident}[0]{ident};
return
{
use_bareword
=>
$_
[0]->() ,}
} };
}
)
)
)
)
)
misc/pX/Common/lrep-compiler/Grammar/Perl6.pm.bak view on Meta::CPAN
112211231124112511261127112811291130113111321133113411351136113711381139114011411142
constant(
')'
)
, concat(
optional(
sub
{
$grammar
->p6ws(
@_
) }
)
, concat(
sub
{
$grammar
->code(
@_
) }
, abort(
sub
{
return
{
bool
=> 1,
tail
=>
$_
[0],
return
=>
sub
{
# XXX This is perl5 code
# XXX This is ugly
eval
Emitter::Perl5::emit({
macro
=>
$_
[0]->() });
return
{
macro
=>
$_
[0]->() ,}
} };
}
)
)
)
)
)
( run in 1.890 second using v1.01-cache-2.11-cpan-49f99fa48dc )