Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re (tilly) 1: Idea for Perl Learning Tool

by tilly (Archbishop)
on Apr 29, 2001 at 06:01 UTC ( #76430=note: print w/replies, xml ) Need Help??


in reply to Idea for Perl Learning Tool

It is essentially impossible for reasons listed at On Parsing Perl. However tools like B::Deparse are able to do a "95%" job of parsing Perl, and you might be able to build a useful tool on top of that.

Also Perl 6 is supposed to have a saner syntax when it comes...

  • Comment on Re (tilly) 1: Idea for Perl Learning Tool

Replies are listed 'Best First'.
(tye)Re: Idea for Perl Learning Tool
by tye (Sage) on Apr 29, 2001 at 07:15 UTC

    The reasons in that thread are talking about having something other than perl itself parse Perl scripts. B::Deparse doesn't parse Perl, it dumps the results of what perl itself parsed.

    The only reason that B::Deparse is missing 5% (or less) is because the module is still young. Some of the bigger missing pieces were just put in place (from what I read) so I suspect that the latest version (not generally available) can successfully "deparse" quite a few working scripts such that the results are functionally identical.

            - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://76430]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2023-12-05 14:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (27 votes). Check out past polls.

    Notices?