Hook h2spy in Makefile.am
* add rules to Makefile.am to use hs2py to generate the Python opcodes from Haskell and update tests to check that Haskell and Python contain the same opcodes. * split 'opcodes.py' in 'opcodes.py.in_after' and 'opcodes_base.py', moving as much code as possible to 'opcodes_base.py' without creating a circular dependency * update reference in the remaining Python modules * remove lib/opcodes.py dependency from documentation target in order to prevent recompilation of documentation in the distributed source tarball, in particular because 'sphinx-build' is an optional dependency (issue 547) Signed-off-by:Jose A. Lopes <jabolopes@google.com> Reviewed-by:
Guido Trotter <ultrotter@google.com>
lib/opcodes.py
deleted
100644 → 0
This diff is collapsed.
lib/opcodes.py.in_after
0 → 100644
lib/opcodes.py.in_before
0 → 100644
lib/opcodes_base.py
0 → 100644