| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Eval
Description
Contains the single-step evaluator/interpreter of ABS terms (from AST)
Documentation
Arguments
| :: ObjRef | the object to execute |
| -> Heap | inside a heap |
| -> Int | the fixed number of possible attributes |
| -> IO (Stmt, [ObjRef], Heap) | (executed-statement,objects-to-be-(re)scheduled,new-heap) |
eval takes an object and a heap and executes the 1st only statement of the 1st process of that object. Returns the executed statement, max 2 objects to reschedule, and a new heap