Playground highlights and shows info/errors from build
This commit is contained in:
@@ -139,7 +139,8 @@ processDecl (TypeSig fc names tm) = do
|
||||
-- ty' <- nf [] ty
|
||||
-- putStrLn "nf \{pprint [] ty'}"
|
||||
for_ names $ \nm => modify $ setDef nm ty Axiom
|
||||
logMetas mstart
|
||||
-- Zoo4eg has metas in TypeSig, need to decide if I want to support that going forward.
|
||||
-- logMetas mstart
|
||||
|
||||
processDecl (PType fc nm ty) = do
|
||||
top <- get
|
||||
|
||||
@@ -140,6 +140,7 @@ main' = do
|
||||
Just name => writeSource name
|
||||
-- traverse_ processFile (filter (".newt" `isSuffixOf`) files) out
|
||||
|
||||
%export "javascript:newtMain"
|
||||
main : IO ()
|
||||
main = do
|
||||
-- we'll need to reset for each file, etc.
|
||||
|
||||
Reference in New Issue
Block a user