Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Perl Cannot Be Parsed: A Formal Proof

by Anonymous Monk
on May 07, 2010 at 08:32 UTC ( #838889=note: print w/ replies, xml ) Need Help??


in reply to Perl Cannot Be Parsed: A Formal Proof

Sorry I didn't get this at all,

A binary executable called perl is called so when it can execute programs written in perl programming language. If perl(binary named so) cannot parse perl programs its not perl at all!!!

perl exists, so it can parse every perl program ever written, or perl doesn't exit at all... And we all know perl exists.


Comment on Re: Perl Cannot Be Parsed: A Formal Proof
Re^2: Perl Cannot Be Parsed: A Formal Proof
by JavaFan (Canon) on May 07, 2010 at 09:07 UTC
    The entire point of the argument is that perl doesn't first completely parse the program before it runs it. When executing a Perl program perl alternates between parsing and running. That's what BEGIN is about (and hence, use).

    The article proves that it's actually impossible to do otherwise. That is, there does not (and will not) exist a program that first completely parses a Perl program, then executes it. (Well, at least not as long as Perl remains as it is).

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (3)
As of 2014-10-25 07:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls