4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Hello clean world!

Last updated at Posted at 2012-07-14

OS XでCleanを動かしたときのログ。QiitaにCleanタグがなかったようなので。

% wget http://clean.cs.ru.nl/download/Clean24/macosx/clean2.4.zip
% unzip clean2.4.zip
% cd clean
% make
% cat hello.icl
module hello
import StdEnv
Start :: *World -> *World
Start world # (file, world) = stdio world
              file = fwrites "Hello World!" file
              (ok, world) = fclose file world
            = world

% bin/clm hello -o hello
Compiling hello
Warning [StdFile.abc,3,stdio;33]: no inline code for this rule
Warning [StdFile.abc,3,fclose;30]: no inline code for this rule
Generating code for hello
Assembling hello
Linking hello
ld: warning: option -s is obsolete and being ignored
% ./hello
Hello World!65536
Execution: 0.00  Garbage collection: 0.00  Total: 0.00

ググラビリティ低過ぎて泣きそうになったというか泣いてる。

##参考

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?