Skip to content

Commit 8a88776

Browse files
committed
Merge pull request #316 from gfldex/master
doc --target=ast
2 parents 8e29886 + 4c2cb34 commit 8a88776

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/Language/faq.pod

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ Nativecall etc.) rather like the linux kernel itself.
144144
Rakudo Star is a distribution of rakudo which ships with some useful modules
145145
and many more can be installed from the ecosystem.
146146
147+
=head2 Is there something like B::Deparse/how can I get hold of the AST?
148+
149+
Use C<perl6 --target=ast -e 'very-short-example()'> to get hold of the AST of a
150+
compilation unit.
151+
147152
=head1 Language Features
148153
149154
=head2 How can I dump Perl 6 data structures (like Perl 5 Data::Dumper and similar)?

0 commit comments

Comments
 (0)