drforr / perl6-Perl6-Parser

A tidier/formatter for Perl 6 code
23 stars 12 forks source link

Adds tests for pods #20

Open JJ opened 5 years ago

JJ commented 5 years ago

I was testing it to incorporate into my Pod::Load, but the main problem is that it does not seem to parse inside the actual Pod, it just passes it through. In general, I would need the self-same tree that if it was parsed by Perl 6. Different names I could handle, though. Anyway, great work.

JJ commented 5 years ago

Also, in the case of the first test file, it puts together pod and comment:

Perl6::Pod.new(content => "=begin pod\n\nPod 6, determined heuristically.\n\n=end pod\n\n#| Base class for magicians \n"