in reply to Re^3: Parsing Boolean expressions
in thread Parsing Boolean expressions

Does B:: provide a way to look at the optree directly, or do you have to dump it to text and reparse?

Replies are listed 'Best First'.
Re^5: Parsing Boolean expressions
by LanX (Saint) on Apr 23, 2017 at 20:22 UTC
    These modules like B::Deparse and B::Concise are implemented in Perl and use B to "walk" the optree and generate the text output.

    Just peek into the code to see how.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

      Cool, thanks!
Re^5: Parsing Boolean expressions
by LanX (Saint) on Apr 23, 2017 at 20:31 UTC