about summary refs log tree commit diff
path: root/README
blob: 2b6df00970ed6b1c0ca3d46df5496ee49102a4ab (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
README(7)	       Miscellaneous Information Manual		     README(7)

NAME
     3cl - c cool char lang interpreter

DESCRIPTION
     3cl is an interpreter of cool char lang which is a brainfuck-like
     langauge, but different and with more features.

EXAMPLES
	   F {
	       / define some local variables to work with
	       &a &b &c

	       / if the parameter is either 0 or 1,
	       / return with it
	       c? #; $c+ = c
	       c? #;

	       / otherwise, get 2 previous numbers
	       / of a sequence and sum them
	       = c $c $c
	       - @F = a
	       -- @F = b
	       $a $b*
	   }

SEE ALSO
     3cl(1), ccl(7), Original implementation:
     https://github.com/holy-8/cool_char_lang

3cl									   3cl