Re: A Puzzle in Eu -- what would you do?
- Posted by DB James <larch at adelphia.net> Aug 05, 2005
- 523 views
cklester wrote: > > DB James wrote: > > > > > > Remember the cautionary note in the original puzzle specs: "The better > > answers would > > deal with *any* such search issue, not just double-hyphens." Want to try > > again, ck? > > Anyone else? > > Yes, I remember that note, but I can't imagine what you mean. Maybe you could > post such a bedeviling example? :) > > Besides, if it gets more complicated than that, I just use Kat's StrTok lib. > > -=ck > "Programming in a state of EUPHORIA." > <a > href="http://www.cklester.com/euphoria/">http://www.cklester.com/euphoria/</a> > ck, I deliberately left the cautionary note a bit vague to let imagination play around with it. Image the search to be instead of the puzzle example, a finding of all "live" commas in an Eu line of code of some particularly strange series of constants, like: constant eenie=Mangle(path&fName,"My mangling, dangling phrase", loc), meenie=CommitAtrocity(haplessBystander, extremePrejudice, evilLawyer), minnie=6,moe=repeat('*',40) Heh, notice I don't define what "live" means. And to paraphrase the first line in the specs [in Kingfish's voice from "Amos & Andy"]: "NO-O libraries." Anyway, try again. Your answer will probably be better than mine. --Quark