Commit Graph
2 Commits
Author SHA1 Message Date
RudideC c64cc5e0fb Overhauled flag system and added compilation
Usage: wyst <file.wst> --flags

Flags:
(none) -> shows transpiled code
-r / --rust <rust_file_name> -> shows transpiled code and turns it into a rust file
-c / --compile <exe_name> -> shows transpiled code, creates a temp.rs file, compiles to an exe and deletes the temp.rs file
2024-05-06 20:56:37 +02:00
RudideC 7f7faf67b5 Added arguments and modified .gitignore
I added -h / --help and -f / --file so that the wyst code files aren't hard coded
This makes it easier to test and debug
2024-05-06 09:44:23 +02:00