Skip to content
João Pedro Neto edited this page Nov 20, 2020 · 17 revisions

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

Yöctọ is stack-based 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"λ0x2Ṁ*"Buzz"λ0x1Ṁ*4Żx3Ċ4Ż

Another solution (51 bytes) uses vectorizes assignment,

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

Check wiki for details on the use of these operators.

Clone this wiki locally