[commit: packages/hoopl] master: 1. remove the dependency on mk to run the tests; 2. make Ast an instance of Eq such that we can compare the transformed results against the expected results in Haskell; 3. add a module to convert IR back to Ast to make the above comparison possible.4. remove Norman from the maintainer field, and add Andreas and Ning as the maintainers; 5. Add #if CABAL macro to several hoop files to conditionally include the macro generated by Cabal such that we can build hoopl and all the tests in ghci (8778a37)

git at git.haskell.org git at git.haskell.org
Mon Dec 21 22:12:51 UTC 2015


Repository : ssh://git@git.haskell.org/hoopl

On branch  : master
Link       : http://git.haskell.org/packages/hoopl.git/commitdiff/8778a37982204df2a4594732dd570f68ee7eb313

>---------------------------------------------------------------

commit 8778a37982204df2a4594732dd570f68ee7eb313
Author: Ning Wang <email at ningwang.org>
Date:   Fri Apr 24 21:04:16 2015 -0700

    1. remove the dependency on mk to run the tests; 2. make Ast an instance of Eq such that we can compare the transformed results against the expected results in Haskell; 3. add a module to convert IR back to Ast to make the above comparison possible.4. remove Norman from the maintainer field, and add Andreas and Ning as the maintainers; 5. Add #if CABAL macro to several hoop files to conditionally include the macro generated by Cabal such that we can build hoopl and all the tests in ghci


>---------------------------------------------------------------

8778a37982204df2a4594732dd570f68ee7eb313
 .gitignore                                    |   2 +-
 README                                        |   4 +
 hoopl.cabal                                   |  14 ++-
 src/Compiler/Hoopl.hs                         |   2 +-
 src/Compiler/Hoopl/Fuel.hs                    |   5 ++
 src/Compiler/Hoopl/Graph.hs                   |   4 +
 src/Compiler/Hoopl/Unique.hs                  |   5 ++
 testing/Ast.hs                                |  43 +++++++--
 testing/Ast2ir.hs                             |  10 ++-
 testing/Expr.hs                               |   5 +-
 testing/Ir2ast.hs                             |  88 +++++++++++++++++++
 testing/Main.hs                               |  11 ++-
 testing/README                                |   4 +-
 testing/Test.hs                               |  64 +++++++++++---
 testing/mkfile                                |  22 -----
 testing/tests/ExpectedOutput                  | 121 ++++++++++++++++++++++++--
 testing/tests/if-test.expected                |   6 ++
 testing/tests/{if-test2 => if-test2.expected} |  12 +--
 testing/tests/{if-test3 => if-test3.expected} |   8 +-
 testing/tests/{if-test4 => if-test4.expected} |   0
 testing/tests/test1.expected                  |   4 +
 testing/tests/{test2 => test2.expected}       |   0
 testing/tests/{test3 => test3.expected}       |   0
 testing/tests/test4.expected                  |   9 ++
 validate                                      |   8 --
 25 files changed, 368 insertions(+), 83 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 8778a37982204df2a4594732dd570f68ee7eb313


More information about the ghc-commits mailing list