POV-Ray : Newsgroups : povray.off-topic : Why is Haskell interesting? : Re: Why is Haskell interesting? Server Time
4 Sep 2024 17:19:43 EDT (-0400)
  Re: Why is Haskell interesting?  
From: Darren New
Date: 27 Feb 2010 17:16:33
Message: <4b8999c1$1@news.povray.org>
Orchid XP v8 wrote:
> The way you said "take each token and pass it through a macro" made it 
> sound like the input stream gets tokenised first

It gets tokenized one token at a time. Otherwise, how would your "macro" be 
able to read the input? I'm not saying "it looks at the already-parsed 
input". I'm saying "it invokes the read() function on stdin to consume input 
that was sent to the compiler". The funky syntax is never seen by the 
tokenizer (in FORTH and LISP).

-- 
Darren New, San Diego CA, USA (PST)
   The question in today's corporate environment is not
   so much "what color is your parachute?" as it is
   "what color is your nose?"


Post a reply to this message

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