diff --git a/README.md b/README.md index 33ae9c8..dd13a70 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,18 @@ print result; ## Usage Rust is needed to use ScriptS. You have to install it. -Let's try below command to run script. + +sub-command `code` is to run script. +``` +cargo run -- run example.ss +``` + +sub-command `code` is to show Python code generated. +``` +cargo run -- code example.ss +``` + +sub-command `ast` is to show abstract syntax tree. ``` -cargo run -- example.ss +cargo run -- ast example.ss ```