diff options
author | Camil Staps | 2018-12-24 23:54:26 +0100 |
---|---|---|
committer | Camil Staps | 2018-12-24 23:54:26 +0100 |
commit | 391c80e4df40ddc21641aa06aa0224460a53ba90 (patch) | |
tree | 617a099611e210b5290111a7ac4c44ef06a2842d /Sjit/Compile.dcl | |
parent | Divide in modules (diff) |
Add interactive shell
Diffstat (limited to 'Sjit/Compile.dcl')
-rw-r--r-- | Sjit/Compile.dcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Sjit/Compile.dcl b/Sjit/Compile.dcl index 4bc1ed5..166b5c4 100644 --- a/Sjit/Compile.dcl +++ b/Sjit/Compile.dcl @@ -1,5 +1,6 @@ definition module Sjit.Compile +from Data.Either import :: Either from Data.Map import :: Map from Data.Maybe import :: Maybe from Sjit.Syntax import :: Function @@ -40,5 +41,4 @@ from Sjit.Syntax import :: Function appendProgram :: !Bool !Program !JITState -> JITState bootstrap :: (!Program, !CompileState) -compile :: !Function !CompileState -> CompileState -compile_all :: !(Maybe CompileState) ![Function] -> CompileState +compile :: !Function !CompileState -> Either String CompileState |