855 B
855 B
$ git clone https://github.com/johnearnest/ok.git
$ cd ok
$ cp $HAPPYBOT/ok/* ./
$ cat oK.js appendoK.js > ircoK.js
Now use ircrepl.js
for a repl.
Differences and similarities with ok:
0:
reads from a URL.1:
does the same, but decodes json.- Has trig functions!
sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, tanh2
- Has other functions!
abs, pow
- Supports
n\n
. - Has whatever's in the okrc as a thing by default too.
2+2
is 5 (unless it's within some other computation, I'm not that mean).- Some useful "commands":
reset
resets variables and stuff.manual
links to this manual.reference
orref
links to http://kparc.com/k.txtokrc
orrc
links to the okrc file.