How to compile Clean from the command line?

Ana Maria Abrão ana@ufu.br
Thu, 07 May 1998 22:24:21 +0000


1) I would like to compile Clean from the command line, in order to
write some kind of Visual Rad, to manage input
output schemes. Something like Visual Prolog, or SML Form Templates.
I guess that such a tool will make my life a lot easier...

2) There is another thing. It seems that Clean environment for Windows
has a small bug, which appears only immediately after instalation.
Then, Clean doesn't find the path to _startup0.o, which is in Clean
System Files, inside StdEnv. After installing Clean, it is necessary
to set a path to this file. After the first successful run, the
system finds its way to directory Clean System Files all by
itself.  Many tyros fail in doing their first compilation due to
this problem. And many of them just give up using Clean,
which is a pity because, in my opinion, Clean is a very good language
for the non specialist, who can't deal with tools like C++ or Java.
I would like to suggest you to fix the problem in a future release
and, for the time being, to put a note in the readme file of the
distribution package.

3) A few months ago, Arjan asked for suggestions about a new interface.
I think that Clean's interface is quite good. A few fixes would improve
it. For example, function keys should be well behaved.
If Clean is in a PC, keys like <end>, <home>, <PgDn>, <PgUp> should
perform like in editors for PCs or, if you prefer, they should be
disabled. It is disgusting when I get some unexpected behaviour, after
pressing <End> or <PgUp>. It would be acceptable if cursor would go
to the end of the line. It would also be acceptable if it wouldn't 
react to such a key. However, the cursor doesn't have any one of these
reasonable behaviour. This is a minor change. In general, I would
advise you to leave good enough alone. Things like colour schemes
doesn't help that much. But if you really want to rewrite the
interface, and if you really want to get suggestions about the
new interface, why don't you ask for prototypes? For example,
explain how to compile Clean from the command line :) and
ask us to send you a prototype interface. Forcing users to
write prototipes will prevent an epidemic of featurites. Japanese
will think twice before asking you for automatic coversion from
hiragana to kanji, israelis will do without dagesh fort, etc. Besides
this, we would take part in the fun of writing an interface :).