Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

1 of 4
Weijun Zhou
  • 3.7k
  • 15
  • 42

Stax, 25+6+18+30=79

ïf?≈1tâN↓ùKÑÿ⌐φ►§|8☺▒╨èî↑

Run and debug it

Shortest answer so far. The string template provided in Stax is really neat.

The compiler itself is 25 bytes long.

The ASCII equivalent is:

{H34|S_h"_`c%z`n?+"m|+"mz`cc_?

Provided input [], generates this one (6 bytes)

mz0c_?

Run and debug it

Provided input [[1,"Golf"]], generates this one (18 bytes)

mz _1%z"Golf"?+c_?

Run and debug it

Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (30 bytes)

mz _3%z"Fizz"?+_5%z"Buzz"?+c_?

Run and debug it

Weijun Zhou
  • 3.7k
  • 15
  • 42

AltStyle によって変換されたページ (->オリジナル) /