Skip to content

Commit

Permalink
fix(main): fix main with merge main
Browse files Browse the repository at this point in the history
  • Loading branch information
tzhengtek committed Jan 14, 2024
1 parent c535cdf commit ab93969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LobsterLang/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ compileFile file s = case runParser parseLobster (0, 0) s of
checkArgs :: [String] -> IO ()
checkArgs [] = print "Launch Interpreter" >> inputLoop []
checkArgs ("-e":file:_) = CompiletoVm.makeConvert file
>>= \instructions -> trace ("instructions to execute" ++ show instructions) print (Vm.exec 0 [] [] instructions []
>>= \instructions -> trace ("instructions to execute" ++ show instructions) print (Vm.exec 0 [] [] instructions [])
checkArgs (file:_) = either
(\_ -> print "File doesn't exist" >> exitWith (ExitFailure 84))
-- (compileLobster file)
Expand Down

0 comments on commit ab93969

Please sign in to comment.