Skip to content
Prototypical Haskell virtual machine for Erlang's BEAM bytecode
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
COPYING
HBEAM.cabal
README.md
Setup.hs
mymath.beam

README.md

HBEAM

Hello! This is a sketchy implementation of a BEAM emulator. It is supposed to read & evaluate Erlang bytecode files.

Right now it doesn't understand very much, but if you have the simplest possible factorial function exported from mymath.beam — it's included — you can run it like this:

$ hbeam mymath factorial '[EVInteger 6]'
 ... after lots of debug spam ...
Return value: EVInteger 720

Wow!

You can’t perform that action at this time.