|
|
|
|
|
|
| |
| |
|
|
From: Dan Connelly
Subject: Re: Identifier declaration consistent with other languages
Date: 13 Nov 2008 08:39:10
Message: <491c2dfe@news.povray.org>
|
|
|
| |
| |
|
|
Chambers wrote:
> I am categorically against whitespace having meaning.
If you want python-like syntax, just embed POV in python. Or if you want Perl-like
syntax, embed in Perl. Personally, I think python is more manageable, although I'm
far more adept at perl.
If an independent syntax is to be maintained, it's best kept simple at the expense of
power.
Dan
Post a reply to this message
|
|
| |
| |
|
|
From: Dan Connelly
Subject: Re: Identifier declaration consistent with other languages
Date: 13 Nov 2008 08:40:17
Message: <491c2e41$1@news.povray.org>
|
|
|
| |
| |
|
|
Dan Connelly wrote:
> Chambers wrote:
>> I am categorically against whitespace having meaning.
>
>
> If you want python-like syntax, just embed POV in python.
I had that backwards.... it's "embed python in POV":
http://www.linuxjournal.com/article/8497
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Dan Connelly <djc### [at] yahoocom> wrote:
> Chambers wrote:
> > I am categorically against whitespace having meaning.
>
>
> If you want python-like syntax, just embed POV in python. Or if you want Perl-like
syntax, embed in Perl. Personall
y, I think python is more manageable, although I'm far more adept at perl.
>
> If an independent syntax is to be maintained, it's best kept simple at the expense
of power.
>
> Dan
Lua is another option. I like it better than Perl or Python.
-Mike
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Identifier declaration consistent with other languages
Date: 13 Nov 2008 10:20:55
Message: <491c45d7@news.povray.org>
|
|
|
| |
| |
|
|
SharkD <nomail@nomail> wrote:
> Lua is another option. I like it better than Perl or Python.
AngelScript is more tempting than lua, python or perl because it has much
closer resemblance to the language POV-Ray itself is written in. It should
also be as easy to embed as lua.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> AngelScript is more tempting than lua, python or perl because it has much
> closer resemblance to the language POV-Ray itself is written in. It should
> also be as easy to embed as lua.
>
> --
> - Warp
Never heard of AngelScript. :)
-Mike
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Identifier declaration consistent with other languages
Date: 14 Nov 2008 11:10:07
Message: <491da2df@news.povray.org>
|
|
|
| |
| |
|
|
SharkD <nomail@nomail> wrote:
> Warp <war### [at] tagpovrayorg> wrote:
> > AngelScript is more tempting than lua, python or perl because it has much
> > closer resemblance to the language POV-Ray itself is written in. It should
> > also be as easy to embed as lua.
> Never heard of AngelScript. :)
Google is your friend.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> SharkD <nomail@nomail> wrote:
> > Warp <war### [at] tagpovrayorg> wrote:
> > > AngelScript is more tempting than lua, python or perl because it has much
> > > closer resemblance to the language POV-Ray itself is written in. It should
> > > also be as easy to embed as lua.
>
> > Never heard of AngelScript. :)
>
> Google is your friend.
>
> --
> - Warp
What's important, IMO, is that scene files be easy to parse using an external
editor. XML is a popular choice, and many parsers already exist; however, my
personal preference would be the use of simple and compact hash arrays.
-Mike
Post a reply to this message
|
|
| |
| |
|
|
From: Warp
Subject: Re: Identifier declaration consistent with other languages
Date: 20 Nov 2008 07:10:24
Message: <492553b0@news.povray.org>
|
|
|
| |
| |
|
|
SharkD <nomail@nomail> wrote:
> XML is a popular choice
A popular choice for what? Certainly not for an embedded scripting language.
(XML is *not* a scripting language at all.)
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |