Skip to content

Commit

Permalink
Implement * syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Jul 27, 2010
1 parent a97b2f5 commit 07ebf12
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Niecza/Actions.pm
Expand Up @@ -702,6 +702,10 @@ sub term__S_lambda { my ($cl, $M) = @_;
$M->{_ast} = $cl->block_to_closure($M->{pblock}{_ast});
}

sub term__S_Star { my ($cl, $M) = @_;
$M->{_ast} = Op::Whatever->new(slot => $cl->gensym);
}

sub do_variable_reference { my ($cl, $M, $v) = @_;
my $sl = $v->{sigil} . $v->{twigil} . $v->{name};

Expand Down

0 comments on commit 07ebf12

Please sign in to comment.