FizzBuzz/EsoLang: Difference between revisions

Correct typo in comment under Brainf*** section
(FizzBuzz/EsoLang en Fish)
(Correct typo in comment under Brainf*** section)
 
(13 intermediate revisions by 3 users not shown)
Line 3:
<br><br>
 
=={{header|=AsciiDots}}===
 
Infinite loop:
<langsyntaxhighlight lang="asciidots">
.-#1--\
|
Line 23:
| \--/ \--{+}--/ |
\---------------------------------------/
</syntaxhighlight>
</lang>
 
Based on above, but simplified and it stops :)
<langsyntaxhighlight lang="asciidots">
%!for_in_range.dots f
 
Line 45:
\-#101-+/
|
</syntaxhighlight>
</lang>
 
===Beeswax===
=={{header|beeswax}}==
 
Simple solution:
<langsyntaxhighlight lang="beeswax"> > q
>@F5~%"d@F{ > @F q
_1>F3~%'d`Fizz`@F5~%'d >`Buzz`@FNp
;bL@~.~4~.5~5@ P<</langsyntaxhighlight>
 
More clever solution, checking n%5 only on one path:
<langsyntaxhighlight lang="beeswax"> >@?q
> q >Ag'd@{?p
_>"1F3~%'d`Fizz`f>@F5~%'d`Buzz`@p
b P~;"-~@~.+0~P9@N?<</langsyntaxhighlight>
 
=={{header|=Befunge}}===
(befunge 93)
<langsyntaxhighlight lang="befunge">55*4*v _ v
v <>:1-:^
|:<$ < ,*48 <
Line 71:
v "buzz"0<>:. ^
|!%5: <
>:#,_ $> ^</langsyntaxhighlight>
 
=={{header|=Brainf***}}===
<langsyntaxhighlight lang="bf">FizzBuzz
 
Memory:
Line 109:
>>
[
Do hundrethundred times:
 
Decrement counter
Line 229:
<<<<[-]++++ ++++ ++++ +.---.[-]>>
]
<<</langsyntaxhighlight>
 
=={{header|=Chef}}===
This was clearly a challenge in a language
without a modulus operator,
Line 237:
and no way to define text (except 1 character at a time on a stack).
 
<langsyntaxhighlight lang="chef">Irish Soda Bread with Club Soda.
 
This is FizzBuzz
Line 423:
Repeat until quoted.
Put chocolate into the 1st mixing bowl.
Refrigerate.</langsyntaxhighlight>
 
=={{header|=FALSE}}===
<langsyntaxhighlight lang="false">[\$@$@\/*=]d:
[1\$3d;!["Fizz"\%0\]?$5d;!["Buzz"\%0\]?\[$.]?"
"]f:
0[$100\>][1+f;!]#%</langsyntaxhighlight>
 
=={{header|=Fish}}===
 
<langsyntaxhighlight Fishlang="fish">0voa ~/?=0:\
=={{header|Fish}}==
<lang Fish>0voa ~/?=0:\
voa oooo'Buzz'~< /
>1+:aa*1+=?;::5%:{3%:@*?\?/'zziF'oooo/
^oa n:~~/</langsyntaxhighlight>
 
=={{header|=LOLCODE}}===
 
<syntaxhighlight lang="lolcode">HAI 1.3
=={{header|LOLCODE}}==
<lang LOLCODE>HAI 1.3
 
IM IN YR fizz UPPIN YR i TIL BOTH SAEM i AN 100
Line 457 ⟶ 455:
IM OUTTA YR fizz
 
KTHXBYE</langsyntaxhighlight>
 
Another method using LOLCODE 1.2
<langsyntaxhighlight LOLCODElang="lolcode">HAI 1.2
I HAS A NUMZ ITZ 1
IM IN YR FIZZR UPPIN YR NUMZ TIL BOTH SAEM NUMZ AN 100
Line 475 ⟶ 473:
OIC
IM OUTTA YR FIZZR
KTHXBYE</langsyntaxhighlight>
 
===Piet===
Código sacado de https://github.com/zphixon
 
[https://github.com/zphixon/piet-projects/blob/master/fizzbuzz.png FizzBuzz image]
 
 
=={{header|=Small}}===
<syntaxhighlight lang="small">
<lang Small>
+++++++++++++++++++++++++++++++++++++++++++++++++.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
Line 891 ⟶ 895:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++</langsyntaxhighlight>
 
=={{header|=SNUSP}}===
<langsyntaxhighlight lang="snusp"> / 'B' @=@@=@@++++#
// / 'u' @@@@@=@+++++#
// // / 'z' @=@@@@+@++++#
Line 928 ⟶ 932:
/<+> -\!?-\!?-\!?-\!?-\!
\?!\-?!\-?!\-?!\-?!\-?/\ div10
# +/! +/! +/! +/! +/</langsyntaxhighlight>
 
 
=={{header|=Whitespace}}===
<syntaxhighlight lang="whitespace">
<lang Whitespace>
 
Line 994 ⟶ 997:
 
 
</syntaxhighlight>
</lang>
 
This solution was generated from the following pseudo-Assembly.
 
<langsyntaxhighlight lang="asm">push 1 ; Initialize a counter.
 
0:
Line 1,026 ⟶ 1,029:
push 101 sub
jn 0 ; Go again unless we're at 100.
pop exit ; Exit clean.</langsyntaxhighlight>