diff options
Diffstat (limited to 'ABC/Assembler.dcl')
-rw-r--r-- | ABC/Assembler.dcl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ABC/Assembler.dcl b/ABC/Assembler.dcl index 281190d..6ba9db7 100644 --- a/ABC/Assembler.dcl +++ b/ABC/Assembler.dcl @@ -1,5 +1,6 @@ definition module ABC.Assembler +from StdFile import class <<< from StdOverloaded import class toString from ABC.Machine.Def import ::Arity, ::Name, ::NrArgs, ::ArgNr, ::Instruction, ::State from ABC.Machine.AStack import ::ASrc, ::ADst @@ -79,4 +80,7 @@ from ABC.Machine.GraphStore import ::Desc instance toString Assembler instance toString Statement +instance <<< Assembler +instance <<< Statement + assemble :: Assembler -> ([Instruction], [Desc]) |