An update on where things stand now...

Github now has modified code to save deparsed text fragments and more of an abstract runtime tree structure. I've moved the "deparse" command in Devel::Trepan out, since this now uses this cooler code, B::Deparsetree, which is not part of the core Perl distribution, and only works right now for versions 5.20 and 5.22.

At some point I'll package these for CPAN and make a new release of Devel::Trepan. There still are lots of bugs and improvements that could be made in in B::DeparseTree: B::Deparse which it is based on has thousands of tests, and I tried merely a single thousand or so of these. And B::Deparse with these still has bugs based on trying run it against the core Perl tests.

This was an incredible time sink. But I think it really cool. Things like Carp::Confess and callstack routines could be beefed up to give more information about the source at a failure.


In reply to Re^4: RFC: Location via B::Deparse by rockyb
in thread RFC: Location via B::Deparse by rockyb

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.