using J compiled to JavaScript by f211
cmd:
Symbols
Basics
=. Is (local assignment)
=: Is (global assignment)
_ Negative Sign • Infinity
NB. Comment
'' String
Arrays
Shape Of • Reshape
# Tally • Copy
, Ravel • Append
; Raze / Link
{. Take
}. Drop
/ Insert • Table
i. Integers • Index of
Math
Plus
* Signum • Times
- Negate • Subtract
% Reciprocal • Divide
^ Power
^. Natural Log • Log
<. Floor • Minimum
>. Ceiling • Maximum
Examples
Interop
'alert' (15!:0) 'hi'
'drawRect' (15!:0) (10,10,10,10)
Script
b=: 0 : 0 abc ) add1=: 3 : 0 smoutput 1+y ) add1 2
last command permalink
Using J examples from
http://www.jsoftware.com/jwiki/DevonMcCormick/MinimalBeginningJ