POV-Ray : Newsgroups : povray.off-topic : A silly little toy (~200 kb) : Re: A silly little toy (~200 kb) Server Time
6 Sep 2024 21:18:42 EDT (-0400)
  Re: A silly little toy (~200 kb)  
From: Darren New
Date: 15 Oct 2008 16:18:50
Message: <48f6502a$1@news.povray.org>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.