|
|
Orchid XP v8 wrote:
> Oh, OK. It's actually all very readable on my screen; I guess it has a
> higher gamma or something.
I actually live where it's sunny during the daytime. ;-)
I have trouble with a lot of video games, too.
> Actually I made the prompt bright and the input + result dim. :-} Maybe
> I should reverse that?
Couldn't hurt.
> BTW, are you impressed that I got this to work? Somebody wrote a small
> Haskell library that invokes windows.h under Windoze or emits ANSI
> escape sequences on POSIX. Neat, eh? Also, notice the window title
> bar... ;-)
Yep. I'm impressed. :-)
> Since "+" isn't a valid token,
Ah.
> This is one of the irritating things about Parsec. It can silently fail
> to parse all of the input. Like, if some prefix of the input is a valid
> expression but the rest isn't, it returns just the prefix. (Obviously it
> depends how you structure your parser.) I must figure out how to fix
> that...
Doesn't it also return the rest of the unparsed string? So if that isn't
empty, something failed?
--
Darren New / San Diego, CA, USA (PST)
Post a reply to this message
|
|