finally setup an LSP - fixed all warnings

This commit is contained in:
2025-09-12 00:08:22 +01:00
parent e440585f90
commit ee1b739c0f
6 changed files with 32 additions and 38 deletions

View File

@@ -9,6 +9,6 @@ main :: IO ()
main = do
contents <- getContents
withFile "out.asm" WriteMode (\f -> compileZorth f $ parseZorth contents)
readProcess "nasm" ["-f", "elf64", "out.asm", "-o", "out.o"] ""
readProcess "ld" ["out.o", "-o", "a.out"] ""
return ()
_ <- readProcess "nasm" ["-f", "elf64", "out.asm", "-o", "out.o"] ""
_ <- readProcess "ld" ["out.o", "-o", "a.out"] ""
return ()