[Aldor-l] Compiling setup
Christian Aistleitner
tmgisi at gmx.at
Mon Aug 14 07:50:19 EDT 2006
Hello,
first off, sorry for not answering to the post of aldor-l but to the one
sent to me directly. I cannot find the post to the mailing list.
On Mon, 14 Aug 2006 07:25:34 +0200, Tim Daly <daly at axiom-developer.org>
wrote:
>> However, according to the AUG, a Literal is a constant. According to the
>> discussion, we all agree constants are correctly modelled by
>> char * str = "my_fancy_literal".
>> To my understanding, this is basically, what Aldor does at the moment.
>> This is a sound behaviour -- No one wants to change the representation
>> of string literals.
>
> Really? Aldor is based on the ideas in the spad language.
> String literals are easily mutable in spad.
> It is incorrect to reflect a C restriction upward.
The "no one" refers to the people discussing the issue ("According to the
discussion"). You just joined in, so the "no one" apparently does not
include you.
String literals are constants in Aldor (as written in §5.2 of the AUG).
I guess main purpose of the _Aldor_ compiler should be to compile _Aldor_
code and assist _Aldor_ developers.
I consider read-only constants an extremely helpful and a good design
decision.
If the Aldor compiler can compile spad files for you, it's nice. However,
I would strongly vote against legacy support, if it forbids a good
experience for the main audience.
Ad main audience:
I know that there are more Axiom developers than Aldor developers around
here, so I hope the main audience still are Aldor developers, even though
there are hardly any ...
--
Kind regards,
Christian
More information about the Aldor-l
mailing list