This is a simple demonstration of what Prana is currently capable of doing:
- The script
generate.sh
will compile
- ghc-prim
- integer-gmp
- base
- The binary
prana-ghc
acts as a replacement for regularghc
, but it also "Recompiles" and outputs .prana files - The resulting "object" .prana files contain STG for each library, and they go in the
PRANA_DIR
directory - Along with an "index" file that maps numerical references of variables/nodes/data constructors to strings like
package:Module.name
. - That whole process takes about 15 seconds.