Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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.

Replies are listed 'Best First'.
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?
[LanX]: I think I've send one whitespace by myself at 20
[Discipulus]: are you polluting tests? grin..
[LanX]: 123456789012345678 901234567890123456 789012345678901234 567890
[LanX]: yep
[LanX]: 1234567890 1234567890 1234567890
[LanX]: so inserting own whitespace helps, ie. a JS warning on submit could help preventing problems

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2017-07-24 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (350 votes). Check out past polls.