Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add parse to Slang.pm
Still too many issues with NQP/Perl 6 interactions, but it at least
makes $~vars a little easier to play with
  • Loading branch information
Mouq committed Nov 13, 2014
1 parent 93987f1 commit b93fc6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/core/Slang.pm
Expand Up @@ -8,4 +8,7 @@ class Slang {
':actions('~$!actions.HOW.name($!actions)~')').join(', ')
~ ')'
}
method parse (|c) {
$!grammar.parse(:$!actions, |c);
}
}

0 comments on commit b93fc6d

Please sign in to comment.