POV-Ray : Newsgroups : povray.off-topic : Programming langauges : Re: Programming langauges Server Time
5 Sep 2024 07:23:16 EDT (-0400)
  Re: Programming langauges  
From: clipka
Date: 22 Oct 2009 04:33:37
Message: <4ae018e1$1@news.povray.org>
Orchid XP v8 schrieb:
> Nicolas Alvarez wrote:
> 
>> XSLT is definitely turing-complete.
>>
>> http://www.unidex.com/turing/utm.htm
> 
> So is PostScript, but nobody uses that for anything except page 
> descriptions.

Well, I once wrote a PS program to compute fractals...

In any case, PostScript /is/ a full-fledged programming language, and 
was always intended to be. You /could/ do other stuff with it if you 
really wanted to, and it wouldn't be /too/ difficult once you got into 
it (except for obvious limitations regarding the user interface).

XSLT on the other hand was originally designed as a /query/ language, 
and it is only through extensions to the basic concept that it 
(accidently, not by design) happens to be Turing complete. You really 
have to abuse the language to write generic programs with it, and in- & 
output will be your least problems.


Post a reply to this message

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