1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-15 10:03:22 +03:00
juvix/app/Commands/Dev/Asm.hs

14 lines
426 B
Haskell
Raw Normal View History

2022-09-29 18:44:55 +03:00
module Commands.Dev.Asm where
import Commands.Base
2022-12-06 13:33:20 +03:00
import Commands.Dev.Asm.Compile as Compile
2022-09-29 18:44:55 +03:00
import Commands.Dev.Asm.Options
import Commands.Dev.Asm.Run as Run
import Commands.Dev.Asm.Validate as Validate
runCommand :: forall r. (Members '[Embed IO, App] r) => AsmCommand -> Sem r ()
2022-09-29 18:44:55 +03:00
runCommand = \case
Run opts -> Run.runCommand opts
Validate opts -> Validate.runCommand opts
2022-12-06 13:33:20 +03:00
Compile opts -> Compile.runCommand opts