write output to file (if -o), cmd line parser, handle dup imports

This commit is contained in:
2024-09-29 11:06:48 -07:00
parent fa7d803ebb
commit 76e627825c
5 changed files with 55 additions and 32 deletions

View File

@@ -342,6 +342,8 @@ record TopContext where
metas : IORef MetaContext
verbose : Bool
errors : IORef (List Error)
||| loaded modules
loaded : List String
-- we'll use this for typechecking, but need to keep a TopContext around too.