Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^3: Perl Cannot Be Parsed: A Formal Proof

by merlyn (Sage)
on Jan 22, 2008 at 13:14 UTC ( #663566=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Perl Cannot Be Parsed: A Formal Proof
in thread Perl Cannot Be Parsed: A Formal Proof

Larry apparently is going to static parsability in Perl 6.
You seem to be missing a "not" in that sentence.

The last time I brought this up with Larry, which was admittedly a year ago, he wasn't going to budge on either of the dual-nature of "/" or the ability to prototype a subroutine to influence the number of parameters.

Indeed, part of the difficulty in having implemented Perl 6 so far is not being able to have a clean lexical phase, thanks to this wonderful "perfect storm" of desirable features. You must execute Perl code at compile time, even in Perl 6, in order to even tokenize the remainder of the file.

The only concession I heard from him is that the results of that executed code would not be promised to be carried forward into the result of the compilation, which seems a bit odd, as it would break things like:

my $x; BEGIN { $x = time }
Unless the BEGIN block is executed both at compile time and once at pre-run time.

Of course, I might be a few months out of date. I got bored following all the Perl 6 stuff, so I'm working on Smalltalk for a while until Perl6 gets a bit closer to a release.


Comment on Re^3: Perl Cannot Be Parsed: A Formal Proof
Download Code
Re^4: Perl Cannot Be Parsed: A Formal Proof
by blazar (Canon) on Feb 14, 2008 at 16:29 UTC
    Larry apparently is going to static parsability in Perl 6.

    You seem to be missing a "not" in that sentence.

    I personally believe a verb is missing as well, BTW.

    --
    If you can't understand the incipit, then please check the IPB Campaign.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2014-12-22 02:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (110 votes), past polls