-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
caf83f8
commit 1670229
Showing
21 changed files
with
765 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"alpl":"ALPL","b":"BrainFuck","b93":"Befunge-93","b98":"Befunge-98","cpp":"C++","df":"Deadfish","emm":"Emmental","fl":"FlufflePuff","ft":"FracTran","ftp":"FracTran++","glo":"Glypho","glos":"GlyphoShorthand","grs":"Grass","lazy":"LazyK","lzb":"LazyBird","mt":"Metatape","names":["ftp","lazy","slash","th","df","b98","wl","b93","ws","pld","plts","grs","path","mt","pdp","cpp","lzb","glo","nul","glos","b","emm","fl","vol","alpl","unl","scala","ft","ook","wd","wsa","snusp"],"nul":"NULL","ook":"Ook","path":"PATH","pdp":"P''","pld":"Prelude","plts":"Platts","scala":"Scala","slash":"///","snusp":"SNUSP","th":"Thue","unl":"Unlambda","vol":"Volatile","wd":"Wierd","wl":"WordLang","ws":"WhiteSpace","wsa":"WSAssembly"} | ||
{"alpl":"ALPL","b":"BrainFuck","b93":"Befunge-93","b98":"Befunge-98","cpp":"C++","df":"Deadfish","emm":"Emmental","fl":"FlufflePuff","ft":"FracTran","ftp":"FracTran++","glo":"Glypho","glos":"GlyphoShorthand","grs":"Grass","lazy":"LazyK","lzb":"LazyBird","mt":"Metatape","names":["ftp","lazy","slash","th","df","wl","b93","ws","pld","plts","grs","path","mt","pdp","cpp","lzb","glo","nul","glos","b","emm","fl","vol","alpl","unl","scala","ft","b98","senpai","ook","wd","wsa","snusp"],"nul":"NULL","ook":"Ook","path":"PATH","pdp":"P''","pld":"Prelude","plts":"Platts","scala":"Scala","senpai":"Senpai","slash":"///","snusp":"SNUSP","th":"Thue","unl":"Unlambda","vol":"Volatile","wd":"Wierd","wl":"WordLang","ws":"WhiteSpace","wsa":"WSAssembly"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package senpai | ||
|
||
import common_test.EsoSpec | ||
|
||
class SenpaiSpec extends EsoSpec{ | ||
testAllAgainstOutputAutoLimit(Senpai)( | ||
("hworld.senpai", "", "Hello World!\n", false), | ||
("cat.senpai", (('a' to 'z') ++ ('A' to 'Z') ++ ('0' to '9') ++ "\n").mkString, (('a' to 'z') ++ ('A' to 'Z') ++ ('0' to '9') ++ "\n").mkString, false), | ||
("truthmachine0.senpai", "0\n", "0\n", false), | ||
("truthmachine1.senpai", "1\n", "1\n1\n1\n1\n1", true), //Whelp, time to properly redo my testing tools! Oh god... | ||
("fizzbuzz.senpai", "", "1\n2\nFizz\n4\nBuzz\nFizz\n7\n8\nFizz\nBuzz\n11\nFizz\n13\n14\nFizzBuzz\n16\n17\nFizz\n19\nBuzz\nFizz\n22\n23\nFizz\nBuzz\n26\nFizz\n28\n29\nFizzBuzz\n31\n32\nFizz\n34\nBuzz\nFizz\n37\n38\nFizz\nBuzz\n41\nFizz\n43\n44\nFizzBuzz\n46\n47\nFizz\n49\nBuzz\nFizz\n52\n53\nFizz\nBuzz\n56\nFizz\n58\n59\nFizzBuzz\n61\n62\nFizz\n64\nBuzz\nFizz\n67\n68\nFizz\nBuzz\n71\nFizz\n73\n74\nFizzBuzz\n76\n77\nFizz\n79\nBuzz\nFizz\n82\n83\nFizz\nBuzz\n86\nFizz\n88\n89\nFizzBuzz\n91\n92\nFizz\n94\nBuzz\nFizz\n97\n98\nFizz\nBuzz\n", false), | ||
("quine.senpai", "", grabFile("quine.senpai") + "\n", false), | ||
("beer.senpai", "", grabFile("senpai_beer_result.txt"), false)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Senpai? Can I see your i? | ||
Senpai? Can I see your text? | ||
Your i is very 99! | ||
|
||
Let's keep this going as long as you likey i is not equal to "No more": | ||
Your text is very "bottles of beer."! | ||
Show me your text! | ||
Show me your i! | ||
Your text is very "bottles of beer on the wall."! | ||
Show me your text! | ||
Show me your i! | ||
Show me your love! | ||
Notice me, senpai!!!! | ||
|
||
Your i is very i minus 1! | ||
If you no-likey i: | ||
Your i is very "No more"! | ||
Let's move on now! | ||
Your text is very "bottles of beer on the wall"! | ||
Show me your text! | ||
Show me your i! | ||
|
||
Your text is very "Take one down, pass it around."! | ||
Show me your text! | ||
Show me your love! | ||
Notice me, senpai!!! | ||
We can stop now! | ||
|
||
Your text is very "No more bottles of beer on the wall, no more bottles of beer.\nGo to the store and buy some more, 99 bottles of beer on the wall."! | ||
Show me your text! | ||
Show me your love! | ||
Notice me, senpai! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Show me your reason! | ||
Notice me, senpai | ||
Show me your love! | ||
Notice me, senpai! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"alpl":"ALPL","b":"BrainFuck","b93":"Befunge-93","b98":"Befunge-98","cpp":"C++","df":"Deadfish","emm":"Emmental","fl":"FlufflePuff","ft":"FracTran","ftp":"FracTran++","glo":"Glypho","glos":"GlyphoShorthand","grs":"Grass","lazy":"LazyK","lzb":"LazyBird","mt":"Metatape","names":["ftp","lazy","slash","th","df","wl","b93","ws","pld","plts","grs","path","mt","pdp","cpp","lzb","glo","nul","glos","b","emm","fl","vol","alpl","unl","scala","ft","b98","senpai","ook","wd","wsa","snusp"],"nul":"NULL","ook":"Ook","path":"PATH","pdp":"P''","pld":"Prelude","plts":"Platts","scala":"Scala","senpai":"Senpai","slash":"///","snusp":"SNUSP","th":"Thue","unl":"Unlambda","vol":"Volatile","wd":"Wierd","wl":"WordLang","ws":"WhiteSpace","wsa":"WSAssembly"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
File Associations... | ||
- .alpl => ALPL | ||
- .b => BrainFuck | ||
- .b93 => Befunge-93 | ||
- .b98 => Befunge-98 | ||
- .cpp => C++ | ||
- .df => Deadfish | ||
- .emm => Emmental | ||
- .fl => FlufflePuff | ||
- .ft => FracTran | ||
- .ftp => FracTran++ | ||
- .glo => Glypho | ||
- .glos => GlyphoShorthand | ||
- .grs => Grass | ||
- .lazy => LazyK | ||
- .lzb => LazyBird | ||
- .mt => Metatape | ||
- .nul => NULL | ||
- .ook => Ook | ||
- .path => PATH | ||
- .pdp => P'' | ||
- .pld => Prelude | ||
- .plts => Platts | ||
- .scala => Scala | ||
- .senpai => Senpai | ||
- .slash => /// | ||
- .snusp => SNUSP | ||
- .th => Thue | ||
- .unl => Unlambda | ||
- .vol => Volatile | ||
- .wd => Wierd | ||
- .wl => WordLang | ||
- .ws => WhiteSpace | ||
- .wsa => WSAssembly | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Senpai? Can I see your range? | ||
Your range is very 100! | ||
Senpai? Can I see your d? | ||
Your d is very 0! | ||
Senpai? Can I see your b? | ||
Let's keep this going as long as you no-likey d is equal to range: | ||
Your d is very d and 1! | ||
If you likey (d mod 5 is equal to 0) and also (d mod 15 is not equal to 0): | ||
Your b is very "Buzz"! | ||
Show me your b! | ||
Otherwise: | ||
If you likey (d mod 3 is equal to 0) and also (d mod 15 is not equal to 0): | ||
Your b is very "Fizz"! | ||
Show me your b! | ||
Otherwise: | ||
If you no-likey d mod 15: | ||
Your b is very "FizzBuzz"! | ||
Show me your b! | ||
Otherwise: | ||
If you likey (d mod 3) either or (d mod 5): | ||
Show me your d! | ||
Let's move on now! | ||
Let's move on now! | ||
Let's move on now! | ||
Let's move on now! | ||
Show me your love! | ||
Notice me, senpai! | ||
We can stop now! |
Oops, something went wrong.