# Icon

## Installation

Iconをインストールする.

```bash
$ wget https://github.com/gtownsend/icon/archive/refs/tags/v9.5.24a.tar.gz
$ tar -xzvf v9.5.24a.tar.gz
```

```bash
$ cd v9.5.24a
$ make Configure name=linux
$ make
```

## Copying binary files to the system

バイナリファイルをシステムにコピーする.

```bash
$ sudo cp src/icon /usr/local/bin/
$ sudo cp src/icont /usr/local/bin/
$ sudo cp src/iconx /usr/local/bin/
```

## Version

```bash
$ icon -V
Icon Version 9.5.24a, January 17, 2024  (linux 32/64, Oct 17 2024)
```

## Example

````{tab} Code
`hello.icn`:

```none
procedure main ()
    write ( "Hello, World!" );
end
```
````

````{tab} Terminal
```bash
$ icont hello.icn
Translating:
hello.icn:
  main
No errors
Linking:
$ ./hello
Hello, World!
```
````
