Skip to content

Commit

Permalink
Added to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-mcdaniel committed Dec 20, 2023
1 parent 5d722ef commit 3671612
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,19 +88,19 @@ Go to the [web-demo](https://adam-mcdaniel.net/sage) or the [examples/frontend](

To start using sage, install it with cargo:

```sh
```bash
$ cargo install --git https://github.com/adam-mcdaniel/sage
```

Then, you can run a sage file with the `sage` command:

```sh
```bash
$ sage examples/frontend/interactive-calculator.sg
```

You can also compile a sage file to C with the `--target` flag:

```sh
```bash
$ sage examples/frontend/interactive-calculator.sg --target c
$ # Or `-t c` for short
$ sage examples/frontend/interactive-calculator.sg -tc
Expand Down

0 comments on commit 3671612

Please sign in to comment.