blob: ab95ef9def7ce2d6ca6a405d6e06267060a4efcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# cOok
An Ook! compiler
As a reminder, ook is just [Brainf\*\*\*](https://esolangs.org/wiki/Brainfuck), but with these rules:
Ook Brainf\*\*\*
Ook. Ook? >
Ook? Ook. <
Ook. Ook. +
Ook! Ook! -
Ook! Ook. .
Ook. Ook! ,
Ook! Ook? [
Ook? Ook! ]
**You can write a comment anywhere, as long as it doesn't have periods, commas, or exclamation marks.**
# Windows
The file extension of the file must be exactly 3 letters. A recommended file extension is *.ook.
To compile ook, `cd` to the directory where cOok is installed, then run:
```
cd build/Windows
cook <file>
```
# GNU/Linux
The file extension of the file must be exactly 3 letters. A recommended file extension is *.ook.
To compile ook, `cd` to the directory where cOok is installed, then run:
```
cd build/GNULinux
./cook <file>
```
If you want to compile the source, just run:
```
make
```
in the source directory.
|