Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl not BNF-able??

by merlyn (Sage)
on Jul 01, 2005 at 13:46 UTC ( [id://471717]=note: print w/replies, xml ) Need Help??


in reply to Perl not BNF-able??

Correct. You cannot have a Perl "parser" that analyzes separately from the lexing phase. The lexer needs to know the parse state. See my seminal note on that in On Parsing Perl.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re^2: Perl not BNF-able??
by pdcawley (Hermit) on Jul 01, 2005 at 15:38 UTC
    Are you allowed to describe something you wrote yourself as seminal? I'm not disputing it's seminality you understand, just wondering about your qualifications to describe it thus.
      Are you allowed to describe something you wrote yourself as seminal?

      If enough other people (or the *right* other people) describe it that way first, and if you're bringing it up in a situation where it is clearly relevant (or someone else brought it up first), then yes. Not that it doesn't represent a certain amount of hubris, of course...

      (And no, I don't happen to know in this particular instance who else may or may not have so described the item in question first. I was just answering your question in the general manner in which it was stated.)

        Actually, I probably misused the word, because I had no idea what it meant until I just looked it up, other than "the thing most people refer to that most clearly defines something".

        So, seminal may not apply, but it's still the most clear collection of examples of how Perl parsing is not possible without executing some code, which would have answered your other question had you read it, and if you still haven't, I recommend reading it now.

        -- Randal L. Schwartz, Perl hacker
        Be sure to read my standard disclaimer if this is a reply.

      Well, it's seminal in the sense that he was the first person who could really be bothered to lay out a few of the main reasons in a readable way in a location that could easily be URL-referenced.

      I certainly refer people to it on a regular basis.

      For something to be seminal it only has to be first, and with a thorough literature review one can claim seminality for one's own work.

      On a related note, not pertaining to the article in question; it is interesting to note how often "seminal" is confused with "good". There is great value in firsts, but they are frequently not good paragons of their form.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2024-04-25 11:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found