POV-Ray : Newsgroups : povray.off-topic : Very long post : Re: Very long post Server Time
7 Sep 2024 05:13:50 EDT (-0400)
  Re: Very long post  
From: Invisible
Date: 24 Sep 2008 08:42:26
Message: <48da35b2$1@news.povray.org>
> scott wrote:
> 
>> Do you need to have some sort of grammar rules though before you can 
>> tokenise?
> 
> Yes, definitely.

To see this, consider that in many programming languages, "foo_bar" is a 
single identifier. However, in TeX source code, "_" is [usually] a 
command name and hence should be parsed as a seperate token.

So what constitutes a "token" completely depends on exactly what you're 
trying to tokenise/parse.


Post a reply to this message

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