Skip to content
João Pedro Neto edited this page Oct 8, 2021 · 17 revisions

Yöctọ (Yocto for ASCII friends) is a code-golf programming language.

Yöctọ is a tacit-programming language like 05AB1E, Gaia, Jelly, Stax or Ohm (which were inspirations for this project).

The language has three types: Fractions, Strings and Lists and uses a custom codepage.

As a Hello World example, here is the Yöctọ program to compute FizzBuzz, for a total of 58 bytes (newlines included),

Lw*
3%¬
5%¬
3%¹5%&
c
2Eẇw┅ẋ"Fizz"λ0x1Ṁ*"Buzz"λ0x2Ṁ*4Żx3Ċ4Ż

Another solution (51 bytes) uses vectorized assignment,

3*
5*
15*
101…ẇww0Ṁ"Fizz"Vw1Ṁ"Buzz"Vw2Ṁ"FizzBuzz"Vṫ

Another solution with just 34 bytes:

3%¹5%&
c
2E┅0ĊØ2*"Fizz"ạ34*1ŻØ4*"Buzz"ạ34*1Ż

Check wiki for details on the use of these operators.

Clone this wiki locally