Stax, 25+6+18+30=79
ïf?≈1tâN↓ùKÑÿ⌐φ►§|8☺▒╨èî↑
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_?
Provided input [[1,"Golf"]], generates this one (18 bytes)
mz _1%z"Golf"?+c_?
Provided input [[3,"Fizz"],[5,"Buzz"]], generates this one (30 bytes)
mz _3%z"Fizz"?+_5%z"Buzz"?+c_?
Weijun Zhou
- 3.7k
- 15
- 42