Yoktoki
- This is still a work in progress. It may be changed in the future.
![]() |
|
Designed by | User:Ivava |
---|---|
Appeared in | 2025 |
Computational class | Unknown |
Reference implementation | Python |
Yoktoki is an esoteric programming language developed for specialized cyber-related applications. The language was created by a school student known online as Ivava (User:Ivava), who designed it with the intention of providing a simple yet flexible tool for tasks in cyber policing and related domains. While Yoktoki includes a small set of core commands for data manipulation and control flow, it also contains several non-essential or “experimental” commands, which demonstrate its playful and educational was pects.
One of the main design principles of Yoktoki is its simplicity: the language processes instructions character by character, making it accessible for learners and reducing the overhead typically associated with more complex programming environments. It supports loop structures and quine-based operations, which allow for self-replicating programs and other advanced programming exercises.
Yoktoki operates on a single accumulator, which can dynamically switch between integer and string types depending on the operation being performed. This dual-mode accumulator provides flexibility in handling different data types while maintaining minimal syntax complexity. Overall, Yoktoki aims to balance educational value, experimentation, and practical utility for cyber-related tasks, making it suitable b, но 5oth for learning programming concepts and for lightweight, specialized computational tasks.
Commands
- This section is still a work in progress. It may be changed in the future.
Command | Description |
---|---|
i |
Request input and save it to accumulator |
Why "Yoktoki"?
The name "Yoktoki" reflects both the scale and purpose of the language. The prefix "Yokto" refers to the extremely small unit of measurement, highlighting the language's minimalistic design. The suffix "ki" is derived from "kiber," a mistaken pronunciation of "kyber," indicating its intended association with cyber-related tasks. Despite its simplicity and small size, programming in Yoktoki can be unexpectedly challenging, particularly when attempting to produce specific outputs or manage the language's unique control structures. This combination of minimalism and subtle complexity gives Yoktoki its distinctive character among esoteric programming languages.
Applications
While Yoktoki was originally designed with cyber policing in mind, its minimalistic design and accessible syntax also make it suitable for educational purposes, learning programming logic, or experimenting with esoteric programming concepts.
Interpreters
User:Ivava 's Python Interpreter
import random,time,urllib.request x=0 c=input() stack=[] jump={} for i,ch in enumerate(c): if ch=='[':stack.append(i) if ch==']':j=stack.pop();jump[j]=i;jump[i]=j i=0 for _ in range(1<<20): if i>=len(c):break k=c[i] if k=='i':x=input(); if k=='p':print(x,end='') if k=='+': try:x=int(x);x+=1 except:pass if k=='-': try:x=int(x);x-=1 except:pass if k=='*': try:x=int(x);x*=2 except:pass if k=='/': try:x=int(x);x//=2 except:pass if k=='s':print(x=="" or x==0) if k=='@': try:ip,port=str(x).split(":");print("IP:",ip,"Port:",port,end='') except:print("Bad format",end='') if k=='n': try:x=int(x) except:pass if k=='f':print() if k=='q':print(c) if k=='h':print(''.join([j for j in c if j not in 'hq'])) if k=='l':print(len(c)) if k=='L': x=len(c) if k=='a': try:print(chr(int(x)),end='') except:print('?',end='') if k=='c': try: n=int(x) n1=min(max(n,0),10) print('['+('#'*n1)+(' '*(10-n1))+']',end='') except:print('[??????????]',end='') if k=='r':x=random.randint(0,100) if k=='z':pass if k=='t':print(time.strftime('%H:%M:%S'),end='') if k=='&': try:x=urllib.request.urlopen('https://api.ipify.org').read().decode() except:x='0.0.0.0' if k=='[': cond=False try: cond=(int(x)!=0) except: cond=(str(x)!='') if not cond: i=jump[i] if k==']': try: cond=(int(x)!=0) except: cond=(str(x)!='') if cond: i=jump[i] i+=1