rewire-2.8: A Haskell-to-Verilog compiler
Safe HaskellSafe
LanguageHaskell2010

Driver

Description

CLI scaffolding shared by the rwc and rwe drivers.

Synopsis

Documentation

driverMain :: String -> [OptDescr Flag] -> (Config -> FilePath -> IO ()) -> IO () Source #

Shared main for the rwc and rwe executables: parse the command line into a Config, extend the loadpath with the bundled rewire-user sources, then run the per-file action.