From Esolang
Jump to navigation Jump to search

ඞ is an Eek! derivative by the Amogus Esolang Crew, mostly by User:VilgotanL and User:Zero player rodent.

The only difference between ඞ and Eek! is that E, e, and k are replaced by ඞ, ඩ and ඬ.

Instructions

Eek!
E
e
k

Examples

Cat program

ඞඞඞඞඩඩඩඩඞඩඩඩඞඩඩඩඩඩඬ

Implementations

Ruby interpreter

eval '$m=Hash.new($p=0); $q=Hash.new($d=0); $h=Hash.new($j=0); ($r=0); ($f=0);'+ARGF.read.gsub(/./,
     'ඞ' => '$p+=1;',
     'ඩ' => '$m[$p]+=1; $m[$p]=15 if $m[$p]>15;', #<- Remember to change this when making new commands
     'ඬ' => '$p+=1; $m[$p]+=16;',)

$p=0
while 0==0
$p+=1
$p+=2 if $m[$p]==10 and $q[$d]==$r
$p+=2 if $m[$p]==11 and $q[$d]!=$r
$r+=1 if $m[$p]==0
$q[$d]+=1 if $m[$p]==1
$q[$d]+=10 if $m[$p]==2
putc $q[$d] if $m[$p]==3
$q[$d]=STDIN.getbyte if $m[$p]==4 and !STDIN.eof
$p-=$r if $m[$p]==5
$d+=1 if $m[$p]==6
$q[$d]=0 if $m[$p]==6
$d-=rand($r) if $m[$p]==7
$p+=$r if $m[$p]==8
$d-=1 if $m[$p]==9
$r-=1 if $m[$p]==12
$r=0 if $m[$p]==13
$r=$q[$d] if $m[$p]==14
$d+=1 if $m[$p]==15
$q[$d]=$r if $m[$p]==15
exit if $m[$p]==16
end