Icon#

Installation#

Iconをインストールする.

$ wget https://github.com/gtownsend/icon/archive/refs/tags/v9.5.24a.tar.gz
$ tar -xzvf v9.5.24a.tar.gz
$ cd v9.5.24a
$ make Configure name=linux
$ make

Copying binary files to the system#

バイナリファイルをシステムにコピーする.

$ sudo cp src/icon /usr/local/bin/
$ sudo cp src/icont /usr/local/bin/
$ sudo cp src/iconx /usr/local/bin/

Version#

$ icon -V
Icon Version 9.5.24a, January 17, 2024  (linux 32/64, Oct 17 2024)

Example#

hello.icn:

procedure main ()
    write ( "Hello, World!" );
end
$ icont hello.icn
Translating:
hello.icn:
  main
No errors
Linking:
$ ./hello
Hello, World!