We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

Dafne

From Esolang
Jump to navigation Jump to search
Dafne

Dafne is an esolang based on the SATOR square and combinatory logic created by User:Miui.
It shares some similarities (namely ternary encoding) with TernLSB.

Dafne.pgm

P5
#DAFNE
13 18
255
object seed
PATER DAFNE
NOSON ABRDN
RE1TA FR0RF
PATEN NDRBA
OSTRA ENFAD
expand rule
[4,4,4,4,4,4,4,5,6]
[4,2,6,8,4,7,4,2,3]
[4,6,4,4,2,8,7,2,4]
[4,8,7,4,8,7,4,8,7]
[4,4,3,8,2,6,4,2,7]
[4,7,2,6,2,8,3,4,7]
[4,4,4,4,4,4,4,4,4]
[5,2,7,8,2,3,4,4,6]
[6,3,2,4,7,4,8,6,2]
[1,4,4,4,4,4,4,4,4]

execution

  1. read rule line-by-line

|e.g.[1][2][3][4][5][6][7][8][9]

  1. multiply {11,10}

||e.g. <[11,20,33,40,55,60,77,80,99][44,40,44,40,44,40,44,40,55,60]>

  1. map (x10[x],x11[y,z]): replace each digit d with Map₁₀(d) (T, A0, AM, AW, BF, BP, BZ).

|||×11 map: replace each digit d with Map₁₁(d) (V, AF, AQ, BA, BL, BW, CG).

Windging functions
Wing(0) ding(AQ) PF(progflow)
D x44 Decrement accumulator until A0
A x41 Accumulate (wings,dings) until (AF,AQ]
F x46 Flip xy/yx
N y4E Numerate over/under 10
E z45 Execeute BWmod(BZ,CG)
b bd{,-;; divmod
candle �� \x18\x10
candles "Â@5 �� ���� �� /@" \x198\x191
d bdbabe divmod(rand, pow10)
db dbqb d(bfi)bcd
dialtix/xx/xxxx (%, 0, P) \no-op/2.5/3/5
eff dx mod
H20 water H(fall)
hydra $/)/Ÿ/$)Ÿ no-op(Flip)
Ora Oname O(name)
pat DAFNE rand(B0B)
Qu qbf(i) brainfuck(instruction)
Ra * Dafne
ra bab
RET ÿ return
TEN ï| return|abs(s(.))
tu trtl turtle(Q)
q bfc bf;\\code;
WAX (dabs) succ(Word)
Z4 xkcd211 return 4;
zk(cd) RET//chosen by fair dice roll. cd//guaranteed to be random.

Bounds

([E, R))

Bounds
Ex D Mv Re rar

Examples

Quine: Deffne
"other" quine: Dafne;ora quine; dbd|define:
xkcd: Random Number zk(cd):\\Rara dpat Dafne Z4
Return the number 420: Hydra define Z420
"Hello, World!": Hydra define Z4dabzï|eff|ello, World!;;
"Dafne Teneten Rationet": bd;hydradasat orare tererit;eff
"SAT ORARE POTENTIA ET OPERA A ROTA SERVANT": DAFNE tenet Ten RATIO net:;\\WAX(dbdbdbdbdbdb);
"sat orare potentia et opera a rota servant": DAFNE tenet Rationeten:;\\Wax(dbdbdbdbdbdb); etc..

See also