Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 meditating upon the Monastery: (10)
As of 2015-07-06 09:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (71 votes), past polls