Created
March 27, 2016 22:42
-
-
Save er2/34cb1d4a7c342dcd59f5 to your computer and use it in GitHub Desktop.
get perl 6 ast
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Perl6::Grammar; | |
my $input = slurp @*ARGS[0].IO; | |
# say $input; | |
my $ast = Perl6::Grammar.parse($input).ast; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment