tcr / corollary

Cross-compiler from Haskell to Rust, plus parser-haskell.
74 stars 6 forks source link

CLI #35

Closed tcr closed 7 years ago

tcr commented 7 years ago

main needs to be modified to take command line arguments so this can be tested from the command line as well.

corrode-but-in-rust test/file.hs
corrode-but-in-rust --dir language/C
corrode-but-in-rust --run-script test/helloworld.hs

--dir should have support for adding (and renaming the paths of) files you want to inject, mainly Lexer.hs and Parser.hs.

tcr commented 7 years ago

This mostly is done.