Portability | ghc |
---|---|
Stability | experimental |
Maintainer | florbitous@gmail.com |
Name mangling.
We need to mangle Python's identifier names when we compiled them to Haskell names because: 1) Python allows some identifiers which are illegal in Haskell, such as leading upper case letters. 2) We introduce our own temporary variables into a compiled program. Name mangling helps to avoid accidental name clash. 3) We import many Haskell primitives into the compiled program. Name mangling helps to avoid accidental name clash.