POV-Ray : Newsgroups : povray.pov4.discussion.general : Parse Strings : Re: Parse Strings Server Time
9 May 2024 06:14:55 EDT (-0400)
  Re: Parse Strings  
From: Warp
Date: 21 Oct 2007 20:04:15
Message: <471be8ff@news.povray.org>
Chambers <bdc### [at] yahoocom> wrote:
> Can we please parse strings?

  With the current parser the answer is basically no. Too difficult to
implement.

  With a redesigned-from-scratch SDL and parser it should be rather trivial
(although byte-compiling and JIT-compiling could present their own quirks,
but other languages such as PHP manage to do it, so it's definitely possible).

> The syntax would be straightforward:

> #parse( <text string or string id> )

  Functions in the current SDL don't start with a #.

-- 
                                                          - Warp


Post a reply to this message

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