Moritz Lenz wrote:
> I just ran
> ../../parrot perl6.pbc --target=past t/01-sanity/02-counter.t
> and it seems that I'm able to reconstruct the basic structure (I can
> identify operators and variables and their position in the source code,
> for example), but for example it stores variables this way:
>
> PMC 'PAST::Var' {
> <name> => "$counter"
> <viviself> => "Undef"
> <source> => "$counter"
> <pos> => 192
> }
>
> That's probably all you need for the compiler, but it doesn't go into
> the details, for example that '$counter' is made of a sigil and an
> identifier.
> Is it overkill for a normal compilation to keep that information? Or
> could we add that?
> Or is such a detail level overkill even for a syntax explainer?Uhm, forget that part;-) particle++ told me to try --target=parse instead, and that's pretty much verbose and all I should ever need ;-) -- Moritz Lenz http://moritz.faui2k3.org/ | http://perl-6.de/
signature.asc
Description: OpenPGP digital signature
