├── .gitignore ├── LICENSE.txt ├── License-Thih.txt ├── README.md ├── brt ├── Makefile └── src │ └── jp │ └── ne │ └── sakura │ └── uhideyuki │ └── brt │ ├── brtsyn │ ├── Alt.java │ ├── Atom.java │ ├── AtomExpr.java │ ├── BlackHole.java │ ├── BoxedCharObj.java │ ├── BoxedDoubleObj.java │ ├── BoxedFloatObj.java │ ├── BoxedIntObj.java │ ├── BoxedIntegerObj.java │ ├── CaseExpr.java │ ├── CompositDict.java │ ├── ConObj.java │ ├── Cotr.java │ ├── CotrAlt.java │ ├── DefaultAlt.java │ ├── Dict.java │ ├── Dictionary.java │ ├── ErrExpr.java │ ├── Expr.java │ ├── FunAppExpr.java │ ├── FunObj.java │ ├── HeapObj.java │ ├── LambdaForm.java │ ├── LetExpr.java │ ├── LitChar.java │ ├── LitDouble.java │ ├── LitFloat.java │ ├── LitInt.java │ ├── LitInteger.java │ ├── Literal.java │ ├── PapObj.java │ ├── PrimOpExpr.java │ ├── Thunk.java │ └── Var.java │ └── runtime │ ├── CallCont.java │ ├── CaseCont.java │ ├── Cont.java │ ├── IOWrapper.java │ ├── IOWrapper.java2 │ ├── NullCont.java │ ├── Prim.java │ ├── RT.java │ ├── RTLib.java │ └── UpdCont.java └── compiler ├── AndroidProjectPrototype ├── .gitignore ├── .idea │ ├── codeStyles │ │ └── Project.xml │ ├── gradle.xml │ ├── jarRepositories.xml │ ├── misc.xml │ └── runConfigurations.xml ├── app │ ├── .gitignore │ ├── build.gradle │ ├── proguard-rules.pro │ └── src │ │ ├── androidTest │ │ └── java │ │ │ └── com │ │ │ └── example │ │ │ └── runtimeproto │ │ │ └── ExampleInstrumentedTest.java │ │ ├── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ └── runtimeproto │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainIntentService.java │ │ └── res │ │ │ ├── drawable-v24 │ │ │ └── ic_launcher_foreground.xml │ │ │ ├── drawable │ │ │ └── ic_launcher_background.xml │ │ │ ├── layout │ │ │ └── activity_main.xml │ │ │ ├── mipmap-anydpi-v26 │ │ │ ├── ic_launcher.xml │ │ │ └── ic_launcher_round.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ │ └── test │ │ └── java │ │ └── com │ │ └── example │ │ └── runtimeproto │ │ └── ExampleUnitTest.java ├── build.gradle ├── gradle.properties ├── gradle │ └── wrapper │ │ ├── gradle-wrapper.jar │ │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat └── settings.gradle ├── Makefile ├── app └── Main.hs ├── bin └── bunny ├── install.sh ├── lib └── Prelude.hs ├── sample └── Hello.hs ├── showlogs.sh ├── src ├── Absyn.hs ├── BindGrouping.hs ├── CodeGen.hs ├── CompilerOpts.hs ├── Core.hs ├── DDumpAssump.hs ├── DDumpCore.hs ├── Desugar.hs ├── DictPass.hs ├── Lexer.x ├── NameMangle.hs ├── PPCore.hs ├── PPTypes.hs ├── PPTyping.hs ├── Parser.info ├── Parser.y ├── Pattern.hs ├── PreDefined.hs ├── RenUtil.hs ├── Rename.hs ├── STG.hs ├── Semant.hs ├── Symbol.hs ├── TrCore.hs ├── TrSTG.hs ├── Types.hs ├── Typing.hs └── unisets.txt └── test ├── err ├── sample137 ├── sample149 ├── sample158 ├── sample191 ├── sample276.rt ├── sample309.rt └── sample311.rt ├── expected ├── sample010.txt ├── sample020.txt ├── sample021.txt ├── sample022.txt ├── sample023.txt ├── sample024.txt ├── sample040.txt ├── sample050.txt ├── sample060.txt ├── sample070.txt ├── sample071.txt ├── sample090.txt ├── sample091.txt ├── sample100.txt ├── sample101.txt ├── sample101b.txt ├── sample102.txt ├── sample103.txt ├── sample104.txt ├── sample105.txt ├── sample106.txt ├── sample107.txt ├── sample108.txt ├── sample109.txt ├── sample110.txt ├── sample111.txt ├── sample112.txt ├── sample113.txt ├── sample114.txt ├── sample115.txt ├── sample117.txt ├── sample118.txt ├── sample119.txt ├── sample120.txt ├── sample123.txt ├── sample124.txt ├── sample125.txt ├── sample126.txt ├── sample127.txt ├── sample128.txt ├── sample129.txt ├── sample130.txt ├── sample131.txt ├── sample132.txt ├── sample133.txt ├── sample134.txt ├── sample135.txt ├── sample140.txt ├── sample141.txt ├── sample142.txt ├── sample143.txt ├── sample144.txt ├── sample145.txt ├── sample146.txt ├── sample147.txt ├── sample148.txt ├── sample150.txt ├── sample151.txt ├── sample152a.txt ├── sample152b.txt ├── sample152c.txt ├── sample152d.txt ├── sample152e.txt ├── sample152f.txt ├── sample153.txt ├── sample154.txt ├── sample155.txt ├── sample156.txt ├── sample157.txt ├── sample159.txt ├── sample160.txt ├── sample161.txt ├── sample162.txt ├── sample163.txt ├── sample164.txt ├── sample165.txt ├── sample166.txt ├── sample167.txt ├── sample168.txt ├── sample169.txt ├── sample170.txt ├── sample171.txt ├── sample172.txt ├── sample173.txt ├── sample174.txt ├── sample175.txt ├── sample176.txt ├── sample177.txt ├── sample178.txt ├── sample179.txt ├── sample180.txt ├── sample181.txt ├── sample182.txt ├── sample183.txt ├── sample184.txt ├── sample185.txt ├── sample186.txt ├── sample187.txt ├── sample188.txt ├── sample189.txt ├── sample190.txt ├── sample192.txt ├── sample193.txt ├── sample194.txt ├── sample195.txt ├── sample196.txt ├── sample197.txt ├── sample198.txt ├── sample199.txt ├── sample200.txt ├── sample201.txt ├── sample202.txt ├── sample203.txt ├── sample204.txt ├── sample205.txt ├── sample206.txt ├── sample209.txt ├── sample210.txt ├── sample211.txt ├── sample212.txt ├── sample213.txt ├── sample214.txt ├── sample215.txt ├── sample216.txt ├── sample217.txt ├── sample218.txt ├── sample220.txt ├── sample221.txt ├── sample222.txt ├── sample223.txt ├── sample224.txt ├── sample225.txt ├── sample226.txt ├── sample227.txt ├── sample228.txt ├── sample229.txt ├── sample230.txt ├── sample231.txt ├── sample232.txt ├── sample233.txt ├── sample234.txt ├── sample235.txt ├── sample236.txt ├── sample237.txt ├── sample238.txt ├── sample239.txt ├── sample240.txt ├── sample241.txt ├── sample242.txt ├── sample243.txt ├── sample244.txt ├── sample245.txt ├── sample246.txt ├── sample247.txt ├── sample248.txt ├── sample249.txt ├── sample250.txt ├── sample251.txt ├── sample252.txt ├── sample253.txt ├── sample254.txt ├── sample255.txt ├── sample256.txt ├── sample257.txt ├── sample259.txt ├── sample260.txt ├── sample261.txt ├── sample262.txt ├── sample263.txt ├── sample264.txt ├── sample265.txt ├── sample267.txt ├── sample268.txt ├── sample269.txt ├── sample270.txt ├── sample271.txt ├── sample272.txt ├── sample273.txt ├── sample274.txt ├── sample275.txt ├── sample277.txt ├── sample278.txt ├── sample279.txt ├── sample280.txt ├── sample281.txt ├── sample282.txt ├── sample283.txt ├── sample284.txt ├── sample285.txt ├── sample286.txt ├── sample287.txt ├── sample288.txt.org ├── sample288b.txt ├── sample289.txt ├── sample289.txt.org ├── sample290.txt ├── sample291.txt ├── sample292.txt ├── sample293.txt ├── sample294.txt ├── sample295.txt ├── sample296.txt ├── sample297.txt ├── sample298.txt ├── sample299.txt ├── sample300.txt ├── sample301.txt ├── sample302.txt ├── sample303.txt ├── sample304.txt ├── sample305.txt ├── sample306.txt ├── sample307.txt ├── sample308.txt ├── sample310.txt ├── sample312.txt ├── sample313.txt ├── sample314.txt ├── sample315.txt ├── sample316.txt ├── sample317.txt ├── sample318.txt ├── sample319.txt ├── sample320.txt ├── sample321.txt ├── sample322.txt ├── sample323.txt ├── sample324.txt ├── sample325.txt ├── sample326.txt ├── sample327.txt ├── sample328.txt ├── sample329.txt ├── sample330.txt ├── sample331.txt ├── sample332.txt ├── sample333.txt ├── sample334.txt ├── sample335.txt ├── sample336.txt ├── sample337.txt ├── test3_2_001.txt ├── test3_2_002.txt ├── test3_5_001.txt ├── test3_5_002.txt ├── test3_5_002b.txt ├── test3_5_004.txt └── test3_5_006.txt ├── jcompile ├── para-run-test.sh ├── run ├── run-test.sh ├── samples ├── sample010.hs ├── sample020.hs ├── sample021.hs ├── sample022.hs ├── sample023.hs ├── sample024.hs ├── sample040.hs ├── sample050.hs ├── sample060.hs ├── sample070.hs ├── sample071.hs ├── sample090.hs ├── sample091.hs ├── sample100.hs ├── sample101.hs ├── sample101b.hs ├── sample102.hs ├── sample103.hs ├── sample104.hs ├── sample105.hs ├── sample106.hs ├── sample107.hs ├── sample108.hs ├── sample109.hs ├── sample110.hs ├── sample111.hs ├── sample112.hs ├── sample113.hs ├── sample114.hs ├── sample115.hs ├── sample117.hs ├── sample118.hs ├── sample119.hs ├── sample120.hs ├── sample123.hs ├── sample124.hs ├── sample125.hs ├── sample126.hs ├── sample127.hs ├── sample128.hs ├── sample129.hs ├── sample130.hs ├── sample131.hs ├── sample132.hs ├── sample133.hs ├── sample134.hs ├── sample135.hs ├── sample137.hs ├── sample140.hs ├── sample141.hs ├── sample142.hs ├── sample143.hs ├── sample144.hs ├── sample145.hs ├── sample146.hs ├── sample147.hs ├── sample148.hs ├── sample149.hs ├── sample150.hs ├── sample151.hs ├── sample152a.hs ├── sample152b.hs ├── sample152c.hs ├── sample152d.hs ├── sample152e.hs ├── sample152f.hs ├── sample153.hs ├── sample154.hs ├── sample155.hs ├── sample156.hs ├── sample157.hs ├── sample158.hs ├── sample159.hs ├── sample160.hs ├── sample161.hs ├── sample162.hs ├── sample163.hs ├── sample164.hs ├── sample165.hs ├── sample166.hs ├── sample167.hs ├── sample168.hs ├── sample169.hs ├── sample170.hs ├── sample171.hs ├── sample172.hs ├── sample173.hs ├── sample174.hs ├── sample175.hs ├── sample176.hs ├── sample177.hs ├── sample178.hs ├── sample179.hs ├── sample180.hs ├── sample181.hs ├── sample182.hs ├── sample183.hs ├── sample184.hs ├── sample185.hs ├── sample186.hs ├── sample187.hs ├── sample188.hs ├── sample189.hs ├── sample190.hs ├── sample191.hs ├── sample192.hs ├── sample193.hs ├── sample195.hs ├── sample196.hs ├── sample197.hs ├── sample198.hs ├── sample199.hs ├── sample200.hs ├── sample201.hs ├── sample202.hs ├── sample203.hs ├── sample204.hs ├── sample205.hs ├── sample206.hs ├── sample209.hs ├── sample210.hs ├── sample211.hs ├── sample212.hs ├── sample213.hs ├── sample214.hs ├── sample215.hs ├── sample216.hs ├── sample217.hs ├── sample218.hs ├── sample220.hs ├── sample221.hs ├── sample222.hs ├── sample223.hs ├── sample224.hs ├── sample225.hs ├── sample226.hs ├── sample227.hs ├── sample228.hs ├── sample229.hs ├── sample230.hs ├── sample231.hs ├── sample232.hs ├── sample233.hs ├── sample234.hs ├── sample235.hs ├── sample236.hs ├── sample237.hs ├── sample238.hs ├── sample239.hs ├── sample240.hs ├── sample241.hs ├── sample242.hs ├── sample243.hs ├── sample244.hs ├── sample245.hs ├── sample246.hs ├── sample247.hs ├── sample248.hs ├── sample249.hs ├── sample250.hs ├── sample251.hs ├── sample252.hs ├── sample253.hs ├── sample254.hs ├── sample255.hs ├── sample256.hs ├── sample257.hs ├── sample259.hs ├── sample260.hs ├── sample261.hs ├── sample262.hs ├── sample263.hs ├── sample264.hs ├── sample265.hs ├── sample267.hs ├── sample268.hs ├── sample269.hs ├── sample270.hs ├── sample271.hs ├── sample272.hs ├── sample273.hs ├── sample274.hs ├── sample275.hs ├── sample276.hs ├── sample277.hs ├── sample278.hs ├── sample279.hs ├── sample280.hs ├── sample281.hs ├── sample282.hs ├── sample283.hs ├── sample284.hs ├── sample285.hs ├── sample286.hs ├── sample287.hs ├── sample288b.hs ├── sample289.hs ├── sample290.hs ├── sample291.hs ├── sample292.hs ├── sample293.hs ├── sample294.hs ├── sample295.hs ├── sample296.hs ├── sample297.hs ├── sample298.hs ├── sample299.hs ├── sample300.hs ├── sample301.hs ├── sample302.hs ├── sample303.hs ├── sample304.hs ├── sample305.hs ├── sample306.hs ├── sample307.hs ├── sample308.hs ├── sample309.hs ├── sample310.hs ├── sample311.hs ├── sample312.hs ├── sample313.hs ├── sample314.hs ├── sample315.hs ├── sample316.hs ├── sample317.hs ├── sample318.hs ├── sample319.hs ├── sample320.hs ├── sample321.hs ├── sample322.hs ├── sample323.hs ├── sample324.hs ├── sample325.hs ├── sample326.hs ├── sample327.hs ├── sample328.hs ├── sample329.hs ├── sample330.hs ├── sample331.hs ├── sample332.hs ├── sample333.hs ├── sample334.hs ├── sample335.hs ├── sample336.hs ├── sample337.hs ├── test3_2_001.hs ├── test3_2_002.hs ├── test3_5_001.hs ├── test3_5_002.hs ├── test3_5_002b.hs ├── test3_5_004.hs └── test3_5_006.hs ├── sub-run-para.sh └── test-compile.sh /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /License-Thih.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/License-Thih.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/README.md -------------------------------------------------------------------------------- /brt/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/Makefile -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Alt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Alt.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Atom.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Atom.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/AtomExpr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/AtomExpr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BlackHole.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BlackHole.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedCharObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedCharObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedDoubleObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedDoubleObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedFloatObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedFloatObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedIntObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedIntObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedIntegerObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/BoxedIntegerObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/CaseExpr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/CaseExpr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/CompositDict.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/CompositDict.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/ConObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/ConObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Cotr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Cotr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/CotrAlt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/CotrAlt.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/DefaultAlt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/DefaultAlt.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Dict.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Dict.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Dictionary.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Dictionary.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/ErrExpr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/ErrExpr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Expr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Expr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/FunAppExpr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/FunAppExpr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/FunObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/FunObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/HeapObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/HeapObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LambdaForm.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LambdaForm.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LetExpr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LetExpr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitChar.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitChar.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitDouble.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitDouble.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitFloat.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitFloat.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitInt.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitInt.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitInteger.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/LitInteger.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Literal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Literal.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/PapObj.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/PapObj.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/PrimOpExpr.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/PrimOpExpr.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Thunk.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Thunk.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Var.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/brtsyn/Var.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/CallCont.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/CallCont.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/CaseCont.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/CaseCont.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/Cont.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/Cont.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/IOWrapper.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/IOWrapper.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/IOWrapper.java2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/IOWrapper.java2 -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/NullCont.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/NullCont.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/Prim.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/Prim.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/RT.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/RT.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/RTLib.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/RTLib.java -------------------------------------------------------------------------------- /brt/src/jp/ne/sakura/uhideyuki/brt/runtime/UpdCont.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/brt/src/jp/ne/sakura/uhideyuki/brt/runtime/UpdCont.java -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/.gitignore -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/.idea/codeStyles/Project.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/.idea/codeStyles/Project.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/.idea/gradle.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/.idea/gradle.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/.idea/jarRepositories.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/.idea/jarRepositories.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/.idea/misc.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/.idea/runConfigurations.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/.idea/runConfigurations.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/build.gradle -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/proguard-rules.pro: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/proguard-rules.pro -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/androidTest/java/com/example/runtimeproto/ExampleInstrumentedTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/androidTest/java/com/example/runtimeproto/ExampleInstrumentedTest.java -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/AndroidManifest.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/java/com/example/runtimeproto/MainActivity.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/java/com/example/runtimeproto/MainActivity.java -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/java/com/example/runtimeproto/MainIntentService.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/java/com/example/runtimeproto/MainIntentService.java -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/drawable-v24/ic_launcher_foreground.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/drawable-v24/ic_launcher_foreground.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/drawable/ic_launcher_background.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/drawable/ic_launcher_background.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/layout/activity_main.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/values/colors.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/values/strings.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/main/res/values/styles.xml -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/app/src/test/java/com/example/runtimeproto/ExampleUnitTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/app/src/test/java/com/example/runtimeproto/ExampleUnitTest.java -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/build.gradle -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/gradle.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/gradle.properties -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/gradlew -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/AndroidProjectPrototype/gradlew.bat -------------------------------------------------------------------------------- /compiler/AndroidProjectPrototype/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | rootProject.name = "RuntimeProto2" -------------------------------------------------------------------------------- /compiler/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/Makefile -------------------------------------------------------------------------------- /compiler/app/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/app/Main.hs -------------------------------------------------------------------------------- /compiler/bin/bunny: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/bin/bunny -------------------------------------------------------------------------------- /compiler/install.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/install.sh -------------------------------------------------------------------------------- /compiler/lib/Prelude.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/lib/Prelude.hs -------------------------------------------------------------------------------- /compiler/sample/Hello.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn "Hello, World!" 2 | 3 | -------------------------------------------------------------------------------- /compiler/showlogs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/showlogs.sh -------------------------------------------------------------------------------- /compiler/src/Absyn.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Absyn.hs -------------------------------------------------------------------------------- /compiler/src/BindGrouping.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/BindGrouping.hs -------------------------------------------------------------------------------- /compiler/src/CodeGen.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/CodeGen.hs -------------------------------------------------------------------------------- /compiler/src/CompilerOpts.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/CompilerOpts.hs -------------------------------------------------------------------------------- /compiler/src/Core.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Core.hs -------------------------------------------------------------------------------- /compiler/src/DDumpAssump.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/DDumpAssump.hs -------------------------------------------------------------------------------- /compiler/src/DDumpCore.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/DDumpCore.hs -------------------------------------------------------------------------------- /compiler/src/Desugar.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Desugar.hs -------------------------------------------------------------------------------- /compiler/src/DictPass.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/DictPass.hs -------------------------------------------------------------------------------- /compiler/src/Lexer.x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Lexer.x -------------------------------------------------------------------------------- /compiler/src/NameMangle.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/NameMangle.hs -------------------------------------------------------------------------------- /compiler/src/PPCore.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/PPCore.hs -------------------------------------------------------------------------------- /compiler/src/PPTypes.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/PPTypes.hs -------------------------------------------------------------------------------- /compiler/src/PPTyping.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/PPTyping.hs -------------------------------------------------------------------------------- /compiler/src/Parser.info: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Parser.info -------------------------------------------------------------------------------- /compiler/src/Parser.y: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Parser.y -------------------------------------------------------------------------------- /compiler/src/Pattern.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Pattern.hs -------------------------------------------------------------------------------- /compiler/src/PreDefined.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/PreDefined.hs -------------------------------------------------------------------------------- /compiler/src/RenUtil.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/RenUtil.hs -------------------------------------------------------------------------------- /compiler/src/Rename.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Rename.hs -------------------------------------------------------------------------------- /compiler/src/STG.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/STG.hs -------------------------------------------------------------------------------- /compiler/src/Semant.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Semant.hs -------------------------------------------------------------------------------- /compiler/src/Symbol.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Symbol.hs -------------------------------------------------------------------------------- /compiler/src/TrCore.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/TrCore.hs -------------------------------------------------------------------------------- /compiler/src/TrSTG.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/TrSTG.hs -------------------------------------------------------------------------------- /compiler/src/Types.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Types.hs -------------------------------------------------------------------------------- /compiler/src/Typing.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/Typing.hs -------------------------------------------------------------------------------- /compiler/src/unisets.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/src/unisets.txt -------------------------------------------------------------------------------- /compiler/test/err/sample137: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /compiler/test/err/sample149: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /compiler/test/err/sample158: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /compiler/test/err/sample191: -------------------------------------------------------------------------------- 1 | Language Report Section 4.4.3.1 2 | -------------------------------------------------------------------------------- /compiler/test/err/sample276.rt: -------------------------------------------------------------------------------- 1 | err 2 | -------------------------------------------------------------------------------- /compiler/test/err/sample309.rt: -------------------------------------------------------------------------------- 1 | err 2 | -------------------------------------------------------------------------------- /compiler/test/err/sample311.rt: -------------------------------------------------------------------------------- 1 | err 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample010.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample020.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample021.txt: -------------------------------------------------------------------------------- 1 | Hello, nested let! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample022.txt: -------------------------------------------------------------------------------- 1 | Hello, nested let! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample023.txt: -------------------------------------------------------------------------------- 1 | Hello, letrec! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample024.txt: -------------------------------------------------------------------------------- 1 | closure conversion! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample040.txt: -------------------------------------------------------------------------------- 1 | true message 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample050.txt: -------------------------------------------------------------------------------- 1 | aaaaa 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample060.txt: -------------------------------------------------------------------------------- 1 | Hello, free variables 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample070.txt: -------------------------------------------------------------------------------- 1 | Hello, Let Expression! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample071.txt: -------------------------------------------------------------------------------- 1 | Hello, Let Expression! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample090.txt: -------------------------------------------------------------------------------- 1 | Hello! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample091.txt: -------------------------------------------------------------------------------- 1 | Hello, function with free variable. 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample100.txt: -------------------------------------------------------------------------------- 1 | Hello! 2 | World! 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample101.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample101b.txt: -------------------------------------------------------------------------------- 1 | True 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample102.txt: -------------------------------------------------------------------------------- 1 | False 2 | True 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample103.txt: -------------------------------------------------------------------------------- 1 | hello, world 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample104.txt: -------------------------------------------------------------------------------- 1 | hello, world 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample105.txt: -------------------------------------------------------------------------------- 1 | h 2 | e 3 | l 4 | l 5 | o 6 | , 7 | 8 | world 9 | -------------------------------------------------------------------------------- /compiler/test/expected/sample106.txt: -------------------------------------------------------------------------------- 1 | acdf 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample107.txt: -------------------------------------------------------------------------------- 1 | acdf 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample108.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample109.txt: -------------------------------------------------------------------------------- 1 | acdf 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample110.txt: -------------------------------------------------------------------------------- 1 | acdf 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample111.txt: -------------------------------------------------------------------------------- 1 | acdf 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample112.txt: -------------------------------------------------------------------------------- 1 | abcd 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample113.txt: -------------------------------------------------------------------------------- 1 | abcd 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample114.txt: -------------------------------------------------------------------------------- 1 | abcde 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample115.txt: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | !,HWdellloor 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample117.txt: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample118.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample119.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample119.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample120.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample120.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample123.txt: -------------------------------------------------------------------------------- 1 | ffftttt 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample124.txt: -------------------------------------------------------------------------------- 1 | ffftt 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample125.txt: -------------------------------------------------------------------------------- 1 | False 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample126.txt: -------------------------------------------------------------------------------- 1 | Down 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample127.txt: -------------------------------------------------------------------------------- 1 | Fuga nine 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample128.txt: -------------------------------------------------------------------------------- 1 | Hoge 10 2 | Fuga nine 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample129.txt: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample130.txt: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample131.txt: -------------------------------------------------------------------------------- 1 | Succ Zero 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample132.txt: -------------------------------------------------------------------------------- 1 | MyLeft 10 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample133.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample134.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample135.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample140.txt: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample141.txt: -------------------------------------------------------------------------------- 1 | 3123 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample142.txt: -------------------------------------------------------------------------------- 1 | 3123 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample143.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | EQ 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample144.txt: -------------------------------------------------------------------------------- 1 | 3123 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample145.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | EQ 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample146.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | EQ 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample147.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | EQ 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample148.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | 100 4 | 8 5 | 'b' 6 | 'a' 7 | -------------------------------------------------------------------------------- /compiler/test/expected/sample150.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample150.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample151.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample151.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample152a.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample152a.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample152b.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample152b.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample152c.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample152c.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample152d.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample152d.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample152e.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample152e.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample152f.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample152f.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample153.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | EQ 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample154.txt: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample155.txt: -------------------------------------------------------------------------------- 1 | Hoge 10 2 | Fuga nine 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample156.txt: -------------------------------------------------------------------------------- 1 | MyLeft 10 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample157.txt: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample159.txt: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample160.txt: -------------------------------------------------------------------------------- 1 | LT 2 | GT 3 | 8 4 | -100 5 | 'b' 6 | 'a' 7 | -------------------------------------------------------------------------------- /compiler/test/expected/sample161.txt: -------------------------------------------------------------------------------- 1 | (1,'a') 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample162.txt: -------------------------------------------------------------------------------- 1 | 5 2 | 6 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample163.txt: -------------------------------------------------------------------------------- 1 | [1,2,3] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample164.txt: -------------------------------------------------------------------------------- 1 | 'Z' 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample165.txt: -------------------------------------------------------------------------------- 1 | (1,2) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample166.txt: -------------------------------------------------------------------------------- 1 | (1,'a') 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample167.txt: -------------------------------------------------------------------------------- 1 | "print!" 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample168.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample168.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample169.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample169.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample170.txt: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample171.txt: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample172.txt: -------------------------------------------------------------------------------- 1 | 512 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample173.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample173.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample174.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample174.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample175.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample175.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample176.txt: -------------------------------------------------------------------------------- 1 | 13 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample177.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample177.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample178.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample178.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample179.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /compiler/test/expected/sample180.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample180.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample181.txt: -------------------------------------------------------------------------------- 1 | ((1,2),[3,4]) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample182.txt: -------------------------------------------------------------------------------- 1 | (((1,5),2),(3,(4,6))) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample183.txt: -------------------------------------------------------------------------------- 1 | (((1,(5,7)),2),(3,((4,8),6))) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample184.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample184.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample185.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample185.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample186.txt: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample187.txt: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample188.txt: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample189.txt: -------------------------------------------------------------------------------- 1 | "zbc" 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample190.txt: -------------------------------------------------------------------------------- 1 | "zbc" 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample192.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample192.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample193.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample193.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample194.txt: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample195.txt: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample196.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample196.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample197.txt: -------------------------------------------------------------------------------- 1 | [(1,'a'),(2,'b')] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample198.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample198.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample199.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample200.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample201.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | (1,2) 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample202.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | (1,2) 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample203.txt: -------------------------------------------------------------------------------- 1 | 3 2 | 1 3 | 4 4 | 1 5 | 5 6 | 9 7 | -------------------------------------------------------------------------------- /compiler/test/expected/sample204.txt: -------------------------------------------------------------------------------- 1 | (5,2) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample205.txt: -------------------------------------------------------------------------------- 1 | ('x',"y") 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample206.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample209.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample210.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample211.txt: -------------------------------------------------------------------------------- 1 | 3123 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample212.txt: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample213.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample213.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample214.txt: -------------------------------------------------------------------------------- 1 | 2 2 | 2 3 | 2.0 4 | False 5 | True 6 | -------------------------------------------------------------------------------- /compiler/test/expected/sample215.txt: -------------------------------------------------------------------------------- 1 | [1,2,3,4,5] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample216.txt: -------------------------------------------------------------------------------- 1 | [1,2,3,4,5] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample217.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample217.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample218.txt: -------------------------------------------------------------------------------- 1 | non-zero 2 | '0' 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample220.txt: -------------------------------------------------------------------------------- 1 | False 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample221.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample222.txt: -------------------------------------------------------------------------------- 1 | 1.0 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample223.txt: -------------------------------------------------------------------------------- 1 | 1.0 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample224.txt: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample225.txt: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample226.txt: -------------------------------------------------------------------------------- 1 | 1.0 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample227.txt: -------------------------------------------------------------------------------- 1 | 7 2 | 42 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample228.txt: -------------------------------------------------------------------------------- 1 | 7 2 | 42 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample229.txt: -------------------------------------------------------------------------------- 1 | 3125 2 | 81 3 | 1024.0 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample230.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample231.txt: -------------------------------------------------------------------------------- 1 | False 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample232.txt: -------------------------------------------------------------------------------- 1 | False 2 | True 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample233.txt: -------------------------------------------------------------------------------- 1 | Just ["hello","world"] 2 | Nothing 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample234.txt: -------------------------------------------------------------------------------- 1 | Just 400 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample235.txt: -------------------------------------------------------------------------------- 1 | 0 2 | 10 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample236.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample236.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample237.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample237.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample238.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample239.txt: -------------------------------------------------------------------------------- 1 | foo bar 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample240.txt: -------------------------------------------------------------------------------- 1 | [2,4,6,8,10] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample241.txt: -------------------------------------------------------------------------------- 1 | 128 2 | 25 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample242.txt: -------------------------------------------------------------------------------- 1 | True 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample243.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample244.txt: -------------------------------------------------------------------------------- 1 | ',' 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample245.txt: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample246.txt: -------------------------------------------------------------------------------- 1 | 10 2 | [1,2,3,4,5,6,7,8,9] 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample247.txt: -------------------------------------------------------------------------------- 1 | abcxyz 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample248.txt: -------------------------------------------------------------------------------- 1 | 16.0 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample249.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample249.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample250.txt: -------------------------------------------------------------------------------- 1 | [1,3,6,10] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample251.txt: -------------------------------------------------------------------------------- 1 | 10 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample252.txt: -------------------------------------------------------------------------------- 1 | [15,14,12,9,5] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample253.txt: -------------------------------------------------------------------------------- 1 | [10,9,7,4] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample254.txt: -------------------------------------------------------------------------------- 1 | [1,2,4,8,16,32,64,128,256,512] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample255.txt: -------------------------------------------------------------------------------- 1 | aaaaa 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample256.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample256.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample257.txt: -------------------------------------------------------------------------------- 1 | [6,7,8,9,10] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample259.txt: -------------------------------------------------------------------------------- 1 | ([1,2,3,4,5],[6,7,8,9,10]) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample260.txt: -------------------------------------------------------------------------------- 1 | [1,2,3,4] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample261.txt: -------------------------------------------------------------------------------- 1 | [5,6,7,8,9,10] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample262.txt: -------------------------------------------------------------------------------- 1 | ([1,2,3],[4,5,6,7,8,9,10]) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample263.txt: -------------------------------------------------------------------------------- 1 | ([1,2,3,4],[5,6,7,8,9,10]) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample264.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample264.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample265.txt: -------------------------------------------------------------------------------- 1 | !dlrow ,olleH 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample267.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample267.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample268.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample268.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample269.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample269.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample270.txt: -------------------------------------------------------------------------------- 1 | True 2 | False 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample271.txt: -------------------------------------------------------------------------------- 1 | Just 2 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample272.txt: -------------------------------------------------------------------------------- 1 | 15 2 | 120 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample273.txt: -------------------------------------------------------------------------------- 1 | 9 2 | 1 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample274.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample274.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample275.txt: -------------------------------------------------------------------------------- 1 | abcd 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample277.txt: -------------------------------------------------------------------------------- 1 | ("abcde","fghijk") 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample278.txt: -------------------------------------------------------------------------------- 1 | αβγδεζηθικλμνξοπρςστ 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample279.txt: -------------------------------------------------------------------------------- 1 | Hoge 10 2 | Fuga "nine" 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample280.txt: -------------------------------------------------------------------------------- 1 | Hoge 10 2 | Fuga "nine" 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample281.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample281.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample282.txt: -------------------------------------------------------------------------------- 1 | [1] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample283.txt: -------------------------------------------------------------------------------- 1 | False 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample284.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample284.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample285.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample285.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample286.txt: -------------------------------------------------------------------------------- 1 | non-zero 2 | 0.0 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample287.txt: -------------------------------------------------------------------------------- 1 | non-zero 2 | 0.0 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample288.txt.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample288.txt.org -------------------------------------------------------------------------------- /compiler/test/expected/sample288b.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample288b.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample289.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample289.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample289.txt.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample289.txt.org -------------------------------------------------------------------------------- /compiler/test/expected/sample290.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample290.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample291.txt: -------------------------------------------------------------------------------- 1 | 16.0 2 | 0.03125 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample292.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample292.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample293.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample293.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample294.txt: -------------------------------------------------------------------------------- 1 | [6,7,8,9,10] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample295.txt: -------------------------------------------------------------------------------- 1 | (1,2,3) 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample296.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample296.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample297.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample297.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample298.txt: -------------------------------------------------------------------------------- 1 | Just 10 2 | Nothing 3 | [2,4,6] 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample299.txt: -------------------------------------------------------------------------------- 1 | [4,8,12,16,20] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample300.txt: -------------------------------------------------------------------------------- 1 | [4,8,12,16,20] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample301.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample301.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample302.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample302.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample303.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample303.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample304.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample304.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample305.txt: -------------------------------------------------------------------------------- 1 | "efghijklmn" 2 | "yxwvutsrqp" 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample306.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample306.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample307.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample307.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample308.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample308.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample310.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample310.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample312.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample312.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample313.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample313.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample314.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample314.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample315.txt: -------------------------------------------------------------------------------- 1 | αβγδεζηθικλμνξοπρςστ 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample316.txt: -------------------------------------------------------------------------------- 1 | Γειά σου Κόσμε 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample317.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample317.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample318.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample318.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample319.txt: -------------------------------------------------------------------------------- 1 | 42 2 | -5 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample320.txt: -------------------------------------------------------------------------------- 1 | 14 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample321.txt: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample322.txt: -------------------------------------------------------------------------------- 1 | 233168 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample323.txt: -------------------------------------------------------------------------------- 1 | 44 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample324.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | -------------------------------------------------------------------------------- /compiler/test/expected/sample325.txt: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | -------------------------------------------------------------------------------- /compiler/test/expected/sample326.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample326.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample327.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample327.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample328.txt: -------------------------------------------------------------------------------- 1 | () 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample329.txt: -------------------------------------------------------------------------------- 1 | [2,4,6,8,10] 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample330.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample330.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample331.txt: -------------------------------------------------------------------------------- 1 | αβ 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample332.txt: -------------------------------------------------------------------------------- 1 | Haskell Compiler 2 | -------------------------------------------------------------------------------- /compiler/test/expected/sample333.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample333.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample334.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample334.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample335.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/expected/sample335.txt -------------------------------------------------------------------------------- /compiler/test/expected/sample336.txt: -------------------------------------------------------------------------------- 1 | X 2 | not X 3 | -------------------------------------------------------------------------------- /compiler/test/expected/sample337.txt: -------------------------------------------------------------------------------- 1 | -1 2 | 0 3 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_2_001.txt: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_2_002.txt: -------------------------------------------------------------------------------- 1 | 120 2 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_5_001.txt: -------------------------------------------------------------------------------- 1 | 15 2 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_5_002.txt: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_5_002b.txt: -------------------------------------------------------------------------------- 1 | 8 2 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_5_004.txt: -------------------------------------------------------------------------------- 1 | 17 2 | -------------------------------------------------------------------------------- /compiler/test/expected/test3_5_006.txt: -------------------------------------------------------------------------------- 1 | -5 2 | -------------------------------------------------------------------------------- /compiler/test/jcompile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/jcompile -------------------------------------------------------------------------------- /compiler/test/para-run-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/para-run-test.sh -------------------------------------------------------------------------------- /compiler/test/run: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/run -------------------------------------------------------------------------------- /compiler/test/run-test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/run-test.sh -------------------------------------------------------------------------------- /compiler/test/samples/sample010.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn "Hello, world!" 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample020.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn s 2 | where s = "Hello, world!" 3 | -------------------------------------------------------------------------------- /compiler/test/samples/sample021.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample021.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample022.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample022.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample023.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample023.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample024.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample024.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample040.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample040.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample050.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample050.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample060.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample060.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample070.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample070.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample071.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample071.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample090.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample090.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample091.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample091.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample100.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample100.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample101.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample101.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample101b.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample101b.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample102.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample102.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample103.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ "hello, " ++ "world" 2 | 3 | 4 | -------------------------------------------------------------------------------- /compiler/test/samples/sample104.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample104.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample105.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample105.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample106.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample106.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample107.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample107.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample108.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample108.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample109.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample109.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample110.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample110.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample111.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample111.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample112.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample112.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample113.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample113.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample114.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample114.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample115.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample115.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample117.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ show $ 1 + 2 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample118.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample118.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample119.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample119.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample120.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample120.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample123.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample123.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample124.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample124.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample125.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample125.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample126.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample126.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample127.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample127.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample128.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample128.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample129.hs: -------------------------------------------------------------------------------- 1 | x :: Integer 2 | x = 10 3 | 4 | main = putStrLn $ show x 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample130.hs: -------------------------------------------------------------------------------- 1 | x :: Int 2 | x = 10 3 | 4 | main = putStrLn $ show x 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample131.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample131.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample132.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample132.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample133.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample133.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample134.hs: -------------------------------------------------------------------------------- 1 | s :: [Char] 2 | s = "Hello, world!" 3 | main = putStrLn s 4 | -------------------------------------------------------------------------------- /compiler/test/samples/sample135.hs: -------------------------------------------------------------------------------- 1 | s :: String 2 | s = "Hello, world!" 3 | 4 | main = putStrLn s 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample137.hs: -------------------------------------------------------------------------------- 1 | -- compileerr.hs for #015 2 | main = putStrLn $ show $ 1 == "1" 3 | 4 | -------------------------------------------------------------------------------- /compiler/test/samples/sample140.hs: -------------------------------------------------------------------------------- 1 | x :: Integer 2 | x = 2 + 3 * 4 3 | 4 | main = print x 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample141.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample141.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample142.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample142.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample143.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample143.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample144.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample144.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample145.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample145.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample146.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample146.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample147.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample147.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample148.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample148.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample149.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample149.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample150.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample150.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample151.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample151.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample152a.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample152a.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample152b.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample152b.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample152c.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample152c.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample152d.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample152d.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample152e.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample152e.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample152f.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample152f.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample153.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample153.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample154.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample154.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample155.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample155.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample156.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample156.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample157.hs: -------------------------------------------------------------------------------- 1 | x :: Int 2 | x = 2 + 3 * 4 3 | 4 | main = print x 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample158.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample158.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample159.hs: -------------------------------------------------------------------------------- 1 | main = print $ 2 + 3 * 4 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample160.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample160.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample161.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample161.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample162.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample162.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample163.hs: -------------------------------------------------------------------------------- 1 | main = print [1, 2, 3] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample164.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample164.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample165.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ show $ (1, 2) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample166.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ show $ (1, 'a') 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample167.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample167.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample168.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample168.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample169.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample169.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample170.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample170.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample171.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample171.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample172.hs: -------------------------------------------------------------------------------- 1 | main = print (512 :: Int) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample173.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample173.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample174.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample174.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample175.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample175.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample176.hs: -------------------------------------------------------------------------------- 1 | main = print x 2 | where x = 13 3 | -------------------------------------------------------------------------------- /compiler/test/samples/sample177.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample177.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample178.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample178.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample179.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample179.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample180.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample180.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample181.hs: -------------------------------------------------------------------------------- 1 | main = print ((1, 2), [3, 4]) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample182.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample182.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample183.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample183.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample184.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample184.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample185.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample185.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample186.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample186.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample187.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample187.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample188.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample188.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample189.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample189.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample190.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample190.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample191.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample191.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample192.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample192.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample193.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample193.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample195.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample195.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample196.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample196.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample197.hs: -------------------------------------------------------------------------------- 1 | main = print [(1, 'a'), (2, 'b')] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample198.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample198.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample199.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample199.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample200.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample200.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample201.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample201.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample202.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample202.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample203.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample203.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample204.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample204.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample205.hs: -------------------------------------------------------------------------------- 1 | main = print (a,b) 2 | where x@(a:b) = "xy" 3 | -------------------------------------------------------------------------------- /compiler/test/samples/sample206.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample206.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample209.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample209.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample210.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample210.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample211.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample211.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample212.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample212.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample213.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample213.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample214.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample214.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample215.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample215.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample216.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample216.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample217.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample217.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample218.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample218.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample220.hs: -------------------------------------------------------------------------------- 1 | x :: Int 2 | x = 4 3 | main = print $ odd x 4 | 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample221.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample221.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample222.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample222.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample223.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample223.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample224.hs: -------------------------------------------------------------------------------- 1 | main = do print $ gcd 14 21 2 | 3 | -------------------------------------------------------------------------------- /compiler/test/samples/sample225.hs: -------------------------------------------------------------------------------- 1 | main = do print $ gcd 14 (21::Int) 2 | 3 | -------------------------------------------------------------------------------- /compiler/test/samples/sample226.hs: -------------------------------------------------------------------------------- 1 | x = 1 2 | main = print (x :: Double) 3 | -------------------------------------------------------------------------------- /compiler/test/samples/sample227.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample227.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample228.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample228.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample229.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample229.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample230.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample230.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample231.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample231.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample232.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample232.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample233.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample233.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample234.hs: -------------------------------------------------------------------------------- 1 | main = print $ fmap (*2) (Just 200) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample235.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample235.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample236.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample236.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample237.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample237.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample238.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample238.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample239.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample239.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample240.hs: -------------------------------------------------------------------------------- 1 | main = print $ map (*2) ([1..5] :: [Int]) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample241.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample241.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample242.hs: -------------------------------------------------------------------------------- 1 | main = print $ True || undefined 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample243.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample243.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample244.hs: -------------------------------------------------------------------------------- 1 | main = print $ "Hello, world" !! 5 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample245.hs: -------------------------------------------------------------------------------- 1 | main = print $ length "hello" 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample246.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample246.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample247.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample247.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample248.hs: -------------------------------------------------------------------------------- 1 | x :: Double 2 | x = 10 3 | 4 | main = print $ (2^4) `asTypeOf` x 5 | -------------------------------------------------------------------------------- /compiler/test/samples/sample249.hs: -------------------------------------------------------------------------------- 1 | main = print $ scanl (*) 1 [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample250.hs: -------------------------------------------------------------------------------- 1 | main = print $ scanl1 (+) [1,2,3,4] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample251.hs: -------------------------------------------------------------------------------- 1 | main = print $ foldl1 (+) [1..4] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample252.hs: -------------------------------------------------------------------------------- 1 | main = print $ scanr (+) 5 [1,2,3,4] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample253.hs: -------------------------------------------------------------------------------- 1 | main = print $ scanr1 (+) [1,2,3,4] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample254.hs: -------------------------------------------------------------------------------- 1 | main = print $ take 10 (iterate (2*) 1) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample255.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ replicate 5 'a' -------------------------------------------------------------------------------- /compiler/test/samples/sample256.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ take 10 $ cycle "xyz" 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample257.hs: -------------------------------------------------------------------------------- 1 | main = print $ drop 5 [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample259.hs: -------------------------------------------------------------------------------- 1 | main = print $ splitAt 5 [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample260.hs: -------------------------------------------------------------------------------- 1 | main = print $ takeWhile (<5) [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample261.hs: -------------------------------------------------------------------------------- 1 | main = print $ dropWhile (<5) [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample262.hs: -------------------------------------------------------------------------------- 1 | main = print $ span (<4) [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample263.hs: -------------------------------------------------------------------------------- 1 | main = print $ break (4<) [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample264.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample264.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample265.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ reverse "Hello, world!" 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample267.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample267.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample268.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample268.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample269.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample269.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample270.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample270.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample271.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample271.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample272.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample272.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample273.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample273.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample274.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample274.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample275.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample275.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample276.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn (undefined `seq` "abcd") 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample277.hs: -------------------------------------------------------------------------------- 1 | main = print $ splitAt 5 ['a'..'k'] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample278.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn $ map toEnum [945 .. 964] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample279.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample279.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample280.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample280.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample281.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample281.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample282.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample282.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample283.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample283.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample284.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample284.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample285.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample285.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample286.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample286.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample287.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample287.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample288b.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample288b.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample289.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample289.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample290.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample290.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample291.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample291.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample292.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample292.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample293.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample293.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample294.hs: -------------------------------------------------------------------------------- 1 | main = print $ filter (>5) [1..10] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample295.hs: -------------------------------------------------------------------------------- 1 | main = print (1, 2, 3) 2 | 3 | 4 | -------------------------------------------------------------------------------- /compiler/test/samples/sample296.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample296.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample297.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample297.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample298.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample298.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample299.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample299.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample300.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample300.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample301.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample301.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample302.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample302.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample303.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample303.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample304.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample304.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample305.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample305.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample306.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample306.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample307.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample307.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample308.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample308.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample309.hs: -------------------------------------------------------------------------------- 1 | main = print $ (toEnum 1 :: ()) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample310.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample310.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample311.hs: -------------------------------------------------------------------------------- 1 | main = do print $ succ True 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample312.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample312.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample313.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample313.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample314.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample314.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample315.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn ['α' .. 'τ'] 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample316.hs: -------------------------------------------------------------------------------- 1 | main = putStrLn "Γειά σου Κόσμε" 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample317.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample317.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample318.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample318.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample319.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample319.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample320.hs: -------------------------------------------------------------------------------- 1 | main = print $ 1*2 + 3*4 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample321.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample321.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample322.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample322.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample323.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample323.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample324.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample324.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample325.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample325.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample326.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample326.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample327.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample327.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample328.hs: -------------------------------------------------------------------------------- 1 | main = print $ (read "()" :: ()) 2 | -------------------------------------------------------------------------------- /compiler/test/samples/sample329.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample329.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample330.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample330.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample331.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample331.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample332.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample332.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample333.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample333.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample334.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample334.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample335.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample335.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample336.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample336.hs -------------------------------------------------------------------------------- /compiler/test/samples/sample337.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/sample337.hs -------------------------------------------------------------------------------- /compiler/test/samples/test3_2_001.hs: -------------------------------------------------------------------------------- 1 | -- Haskell 2010 Language Report 3.1 Errors 2 | main = print ((+) 2 3) 3 | -------------------------------------------------------------------------------- /compiler/test/samples/test3_2_002.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/samples/test3_2_002.hs -------------------------------------------------------------------------------- /compiler/test/samples/test3_5_001.hs: -------------------------------------------------------------------------------- 1 | s = (+ 10) 2 | main = print $ s 5 3 | -------------------------------------------------------------------------------- /compiler/test/samples/test3_5_002.hs: -------------------------------------------------------------------------------- 1 | s = (10 `div`) 2 | main = print $ s 2 3 | -------------------------------------------------------------------------------- /compiler/test/samples/test3_5_002b.hs: -------------------------------------------------------------------------------- 1 | s = (10 -) 2 | main = print $ s 2 3 | -------------------------------------------------------------------------------- /compiler/test/samples/test3_5_004.hs: -------------------------------------------------------------------------------- 1 | s = (+3*4) 2 | main = print $ s 5 3 | -------------------------------------------------------------------------------- /compiler/test/samples/test3_5_006.hs: -------------------------------------------------------------------------------- 1 | s = (+ (-10)) 2 | main = print $ s 5 3 | -------------------------------------------------------------------------------- /compiler/test/sub-run-para.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/sub-run-para.sh -------------------------------------------------------------------------------- /compiler/test/test-compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unnohideyuki/bunny/HEAD/compiler/test/test-compile.sh --------------------------------------------------------------------------------