Keta/ref.txt

111 lines
1.4 KiB
Plaintext
Raw Normal View History

2019-12-24 23:43:44 +00:00
( ): NOP. Different to Keg where spaces do things.
2019-12-26 21:21:29 +00:00
(!): (iterable) Returns length of L
: (+ve integer) Returns factorial of L
: (float/-ve integer) Returns the number (at this point)
2019-12-24 23:43:44 +00:00
("): Start a string
(#): Comment
2019-12-24 23:38:42 +00:00
($):
2019-12-26 21:27:00 +00:00
(%): Returns L % R
2019-12-24 23:38:42 +00:00
(&):
2019-12-26 21:21:29 +00:00
('):
((): Start array
()): Close array
2019-12-24 23:43:44 +00:00
(*): Returns L * R
2019-12-26 21:21:29 +00:00
(+): Returns L + R
2019-12-26 21:27:00 +00:00
(,): Print argument
2019-12-24 23:43:44 +00:00
(-): Returns L - R
2019-12-24 23:38:42 +00:00
(.):
2019-12-26 21:27:00 +00:00
(/): Returns L / R
2019-12-26 21:21:29 +00:00
(0): Number 0
(1): Number 1
(2): Number 2
(3): Number 3
(4): Number 4
(5): Number 5
(6): Number 6
(7): Number 7
(8): Number 8
(9): Number 9
2019-12-26 21:27:00 +00:00
(:): (Dyadic context) Use l as both sides
: (Otherwise) Double input
(;): Decrement L
(<): Return L < R
(=): Return L == R
(>): Return L > R
(?): Input
2019-12-24 23:38:42 +00:00
(@):
(A):
(B):
(C):
2019-12-26 21:27:00 +00:00
(D):
2019-12-24 23:38:42 +00:00
(E):
(F):
(G):
2019-12-24 23:43:44 +00:00
(H): Havle L
2019-12-24 23:38:42 +00:00
(I):
2019-12-24 23:43:44 +00:00
(J): Join L based on R
2019-12-24 23:38:42 +00:00
(K):
(L):
(M):
(N):
(O):
(P):
(Q):
2019-12-26 21:27:00 +00:00
(R): (string, number) Repeat L, R times
: (block, number) Repeatedly evaluate l, R times
2019-12-24 23:38:42 +00:00
(S):
(T):
(U):
(V):
(W):
(X):
(Y):
(Z):
2019-12-26 21:21:29 +00:00
([): Grouping syntax
(\): Escape next character
(]): Grouping syntax
2019-12-24 23:38:42 +00:00
(^):
(_):
(`):
(a):
(b):
(c):
(d):
(e):
(f):
(g):
(h):
(i):
(j):
(k):
(l):
(m):
(n):
(o):
(p):
(q):
2019-12-24 23:43:44 +00:00
(r): Range from L to R
2019-12-24 23:38:42 +00:00
(s):
(t):
(u):
(v):
(w):
(x):
(y):
(z):
2019-12-26 21:21:29 +00:00
({): Grouping syntax
(}): Grouping syntax
(^): Reverses argument
2019-12-24 23:38:42 +00:00
2019-12-24 23:40:35 +00:00
Arguments:
L -> Left Argument
R -> Right Argument
l -> Left block
r -> Right block
2019-12-24 23:38:42 +00:00
// Page template generated using the following Keg script
zɧ^(\(,,\),\:, ,
,