POV-Ray : Newsgroups : povray.pov4.discussion.general : Parse Strings : Re: Parse Strings Server Time: 5 Sep 2008 22:57:07 GMT
  Re: Parse Strings  
From: Warp
Date: 22 Oct 2007 00:04:15
Chambers <bdchambers79 [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-2008 Persistence of Vision Raytracer Pty. Ltd.