Skip to content
forked from Ky6uk/PETOOH

a fundamentally new programming language

Notifications You must be signed in to change notification settings

eprykhodko/PETOOH

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PETOOH – a fundamentally new programming language

Basics

Kudah increment the data pointer (to point to the next cell to the right)
kudah decrement the data pointer (to point to the next cell to the left)
Ko increment (increase by one) the byte at the data pointer
kO decrement (decrease by one) the byte at the data pointer
Kukarek output the byte at the data pointer as an ASCII encoded character
Kud if the byte at the data pointer is zero, then instead of moving the instruction pointer forward to the next command
kud if the byte at the data pointer is nonzero, then instead of moving the instruction pointer forward to the next command

Code sample

KoKoKoKoKoKoKoKoKoKo Kud-Kudah
KoKoKoKoKoKoKoKo kudah kO kud-Kudah Kukarek kudah
KoKoKo Kud-Kudah
kOkOkOkO kudah kO kud-Kudah Ko Kukarek kudah
KoKoKoKo Kud-Kudah KoKoKoKo kudah kO kud-Kudah kO Kukarek
kOkOkOkOkO Kukarek Kukarek kOkOkOkOkOkOkO
Kukarek

Perl demo

About

a fundamentally new programming language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 55.7%
  • Haskell 16.8%
  • Python 15.2%
  • Perl 12.3%