Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Re: Clunky parsing problem, looking for simple solution

by clintp (Curate)
on Jun 16, 2002 at 14:25 UTC ( #174924=note: print w/ replies, xml ) Need Help??


in reply to Re: Clunky parsing problem, looking for simple solution
in thread Clunky parsing problem, looking for simple solution

If it were a simple problem, I don't think I'd have posted it here. :)

For now I suppose you can ignore the truly pathological case where there's a IF-like statement within double-quotes. I'm looking for a 90% solution and if some hand-porting is necessary then so be it.

Note: I found just such a statement in my test suite. It was in a tutorial on GW-BASIC written in GW-BASIC.


Comment on Re: Re: Clunky parsing problem, looking for simple solution
Re^3: Clunky parsing problem, looking for simple solution
by orkysoft (Friar) on Jun 16, 2002 at 19:10 UTC

    I don't think an IF-statement within double quotes should be looked at at all by your parser. It's just a string, after all. It's not a statement.

    Lur: "But if this cape shrinks, consider your species extinct!"

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-07-31 08:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (247 votes), past polls