core-compiler-0.1.0.2: compile your own mini functional language with Core

Safe HaskellSafe
LanguageHaskell2010

Core.GMachine

Synopsis

Documentation

eval :: GmState -> [GmState] Source #

executes the g-machine by executing each instruction each execution of an instruction is cons'ed to the list the last state in the list is the final instruction