├── .gitattributes ├── .gitignore ├── H-Calc.cabal ├── LICENSE ├── README.md ├── Setup.hs ├── TODO.md ├── sandbox ├── Main.hs ├── Parser.hs └── Sandbox.hs ├── src ├── Interpreter │ ├── A_Nucleus.hs │ ├── B_Add.hs │ ├── C_Mul.hs │ ├── Interpreter.hs │ ├── README.md │ └── Transfos.hs └── Prelude.hs ├── stack.yaml └── test ├── Interpreter ├── A_NucleusSpec.hs ├── B_AddSpec.hs ├── C_MulSpec.hs ├── InterpreterSpec.hs └── TransfosSpec.hs └── Spec.hs /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/.gitignore -------------------------------------------------------------------------------- /H-Calc.cabal: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/H-Calc.cabal -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/README.md -------------------------------------------------------------------------------- /Setup.hs: -------------------------------------------------------------------------------- 1 | import Distribution.Simple 2 | main = defaultMain 3 | -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/TODO.md -------------------------------------------------------------------------------- /sandbox/Main.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/sandbox/Main.hs -------------------------------------------------------------------------------- /sandbox/Parser.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/sandbox/Parser.hs -------------------------------------------------------------------------------- /sandbox/Sandbox.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/sandbox/Sandbox.hs -------------------------------------------------------------------------------- /src/Interpreter/A_Nucleus.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Interpreter/A_Nucleus.hs -------------------------------------------------------------------------------- /src/Interpreter/B_Add.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Interpreter/B_Add.hs -------------------------------------------------------------------------------- /src/Interpreter/C_Mul.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Interpreter/C_Mul.hs -------------------------------------------------------------------------------- /src/Interpreter/Interpreter.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Interpreter/Interpreter.hs -------------------------------------------------------------------------------- /src/Interpreter/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Interpreter/README.md -------------------------------------------------------------------------------- /src/Interpreter/Transfos.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Interpreter/Transfos.hs -------------------------------------------------------------------------------- /src/Prelude.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/src/Prelude.hs -------------------------------------------------------------------------------- /stack.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/stack.yaml -------------------------------------------------------------------------------- /test/Interpreter/A_NucleusSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/test/Interpreter/A_NucleusSpec.hs -------------------------------------------------------------------------------- /test/Interpreter/B_AddSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/test/Interpreter/B_AddSpec.hs -------------------------------------------------------------------------------- /test/Interpreter/C_MulSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/test/Interpreter/C_MulSpec.hs -------------------------------------------------------------------------------- /test/Interpreter/InterpreterSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/test/Interpreter/InterpreterSpec.hs -------------------------------------------------------------------------------- /test/Interpreter/TransfosSpec.hs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pcarbonn/H-Calc/HEAD/test/Interpreter/TransfosSpec.hs -------------------------------------------------------------------------------- /test/Spec.hs: -------------------------------------------------------------------------------- 1 | {-# OPTIONS_GHC -F -pgmF hspec-discover #-} 2 | --------------------------------------------------------------------------------