From cdf88f13008cd3f6511d466c1078ae7b2f983faf Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Fri, 9 Sep 2022 12:41:03 +0100 Subject: Refactored the compiler result to plug in the code generator Also some tweaks in error reporting. --- src/Micro/Asm/Sdcc.hs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/Micro/Asm/Sdcc.hs') diff --git a/src/Micro/Asm/Sdcc.hs b/src/Micro/Asm/Sdcc.hs index 60a2caf..916fa3e 100644 --- a/src/Micro/Asm/Sdcc.hs +++ b/src/Micro/Asm/Sdcc.hs @@ -1 +1,7 @@ module Micro.Asm.Sdcc where + +import qualified Micro.Ast as A +import Micro.Env (SymMap) + +generate :: SymMap -> [A.Expr] -> String +generate sym ast = "OUTPUT" -- cgit v1.2.3