Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
KajizukaTaichi committed Jul 27, 2024
1 parent 29752c1 commit bc83775
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit bc83775

Please sign in to comment.