POV-Ray : Newsgroups : povray.programming : Why not generate parser with Bison & Flex? : Re: Why not generate parser with Bison & Flex? Server Time
29 Jul 2024 02:21:55 EDT (-0400)
  Re: Why not generate parser with Bison & Flex?  
From: Thomas Baier
Date: 2 Jan 1999 01:57:29
Message: <368DC3BC.48BAAB0B@ibm.net>
Hi,


>   I really like povray's syntax flexibility. For example, intead of having
> to type:
>   light_source { <1,2,3>, color rgb <1,1,1> }
> you can type
>   light_source { <1,2,3>, rgb <1,1,1> }
> or
>   light_source { <1,2,3>, <1,1,1> }
> or
>   light_source { <1,2,3>, 1 }
> or
>   light_source { <1,2,3> 1 }
> or even
>   light_source { <1,2,3>1 }
>

Well, no problem to support your examples with L&Y but you would have to follow a
more restrict comma setting.

-tb


Post a reply to this message

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