Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / Hs2Py @ cc6a469e

Name Size
GenConstants.hs 1.7 kB
GenOpCodes.hs 2.6 kB
ListConstants.hs.in 1.2 kB
OpDoc.hs 14.2 kB

Latest revisions

# Date Author Comment
a40db327 09/26/2013 05:35 pm Jose A. Lopes

Add 'generated from' comments in Hs2py constants

Modify Hs2Py constants to include a comment in the generated comments
describing the source of those constants. Fixes issue 588.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Thomas Thrainer <>

4c9fdf69 09/10/2013 11:58 am Jose A. Lopes

Fix module documentation

Fix 'Ganeti.Hs2Py.ListContants.hs.in' template module documentation to
warn about automatic module generation.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Klaus Aehlig <>

1b2adaa6 08/29/2013 01:17 pm Jose A. Lopes

Setup constant generation infrastructure

Setup a transitional Haskell to Python constant generation
infrastructure. This infrastructure is transitional and Python
constants will not be migrated to Haskell all at once. Instead, some
constants will be incrementally pulled from Python and moved to...

d34c79b6 08/29/2013 01:17 pm Jose A. Lopes

Add Template Haskell code for constant generation

Add Template Haskell functions that generate a list in Haskell
containing all the constants to be generated in Python. This list is
an association list mapping the constant name to its Python value,
which is stored as a string....

f3e38e89 08/07/2013 10:41 am Jose A. Lopes

Generate Python opcodes from opcode descriptors

Add Haskell module Hs2Py which contains the helper functions that
generate the Python opcodes as strings from the Haskell opcode
descriptors produced by Template Haskell.

Signed-off-by: Jose A. Lopes <>...

6c2c542e 08/07/2013 10:41 am Jose A. Lopes

Add opcode documentation

Add Haskell module containing opcode documentation for all the
opcodes.

Signed-off-by: Jose A. Lopes <>
Reviewed-by: Guido Trotter <>

View revisions

Also available in: Atom