(unknown charset) Re: [BLACKBOX] Read-only IN parameters for all data types

From: (unknown charset) Oleg N. Cher <"Oleg>
Date: Thu, 21 Feb 2008 13:43:13 +0200

----boundary-LibPST-iamunique-1692290444_-_-
Content-type: text/plain

Dear Aubrey,

>The strictness of Oberon is what defines it, in my own personal
>impressions. In the first phase, it was a nuisance, I "just wanted it
>to compile."
>But after some experience, the errors are rare, and are a great help.

Yes, absolutely!
and because of it, I think, we need a small language. But one of all.

By the way, so often it turns out, that a first sight at the Oberon
is biassed. Why, do you think, so?

>Here, if the programmer tries to assign an "in" variable, there are
>design choices. One choice for the (language) design is that it is an
>error. The other choice is that it is just a "free" scratch variable.

>If you pass a pointer as IN, can you change the dereferenced data?

Of course. Such use "IN" is represented probable.
It describes the constant pointer, but the data which it specifies,
can be changed. It can confuse a little, whether not so?

>This seems true. What about:
> PROCEDURE Example ( a, b -> INTEGER; side <> INTEGER; res <- INTEGER);

It is even more incredible, than about what we spoke earlier :-)

One time I have proposed this way to write a formula:

   a + b => c => d (* c := a + b; d := c; *)
   1 +> a (* a := a + 1; *)
   1 -> a (* a := a - 1; *)

But the traditional way of formula recording is more standard :)

>We can only ask that you do your best. We see that the serious ideas
>are there, and will work through the not-first-language mistakes to
>reach them.

Thanks. I will try.

This "serious ideas" are not, It's just a dream to have
a possibility to write programs once, and build to be
runned in any environment. All specific features must be
hidden in appropriate modules, and all this will be
penetrated with the general uniform interface.

But people like to create own programming languages
too strongly. May also I will create one Oberon subset? ;-)


Oleg N. Cher,
Colossoft Research.
allot{([at]})nowhere.xy
2008-02-21


----
To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy----boundary-LibPST-iamunique-1692290444_-_-
Content-type: application/rtf
Content-transfer-encoding: base64
Content-Disposition: attachment; filename="rtf-body.rtf"
e1xydGYxXGFuc2lcYW5zaWNwZzEyNTFcZnJvbXRleHQgXGRlZmYwe1xmb250dGJsDQp7XGYwXGZz
d2lzcyBBcmlhbDt9DQp7XG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BSZXNlYXJjaC5ccGFyDQphbGxvdEB1
a3IubmV0XHBhcg0KMjAwOC0wMi0yMVxwYXINClxwYXINClxwYXINCi0tLS1ccGFyDQpUbyB1bnN1
YnNjcmliZSwgc2VuZCBhIG1lc3NhZ2Ugd2l0aCBib2R5ICJTSUdOT0ZGIEJMQUNLQk9YIiB0byBM
SVNUU0VSVkBMSVNUUy5PQkVST04uQ0h9fQAH5AcZ
----boundary-LibPST-iamunique-1692290444_-_---
Received on Thu Feb 21 2008 - 12:43:13 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:31:00 UTC