diff options
Diffstat (limited to 'ABC/Def.dcl')
-rw-r--r-- | ABC/Def.dcl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/ABC/Def.dcl b/ABC/Def.dcl new file mode 100644 index 0000000..db2c0c0 --- /dev/null +++ b/ABC/Def.dcl @@ -0,0 +1,31 @@ +definition module ABC.Def + +from ABC.AStack import ::AStack +from ABC.BStack import ::BStack +from ABC.CStack import ::CStack +from ABC.GraphStore import ::GraphStore, ::DescStore +from ABC.Program import ::ProgramStore +from ABC.IO import ::IO + +:: State = { astack :: AStack + , bstack :: BStack + , cstack :: CStack + , graphstore :: GraphStore + , descstore :: DescStore + , pc :: InstrId + , program :: ProgramStore + , io :: IO + } + +:: NodeId :== Int +:: NrArgs :== Int +:: ArgNr :== Int +:: DescId :== Int +:: InstrId :== Int +:: Name :== String +:: Arity :== Int + +:: Instruction :== State -> State + +:: APEntry :== InstrId +:: Args :== [NodeId] |