POV-Ray : Newsgroups : povray.advanced-users : Allowing reserved keywords to be used as identifier names? : Re: Allowing reserved keywords to be used as identifier names? Server Time
28 Jul 2024 18:25:18 EDT (-0400)
  Re: Allowing reserved keywords to be used as identifier names?  
From: Thorsten Froehlich
Date: 31 May 2004 09:20:05
Message: <40bb3105@news.povray.org>
In article <40bb1df8@news.povray.org> , Warp <war### [at] tagpovrayorg>  wrote:

>  The parser could use intelligent heuristics to decide which interpretation
> is correct.
>   The simplest heuristic would be: "This is the name of a keyword. If
> I use it as a keyword in this place, will it cause a syntax error? If

But can something like this always be determined in constant time?  If not,
and I think it cannot always be determined in constant time, it would make
parsing really slow.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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