Skip to content

Commit

Permalink
Add Cosmopolitan instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
tekknolagi committed Jan 5, 2024
1 parent d3f1e63 commit a1d6452
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,24 @@ python3 scrapscript.py apply "1 + 2"
python3 scrapscript.py repl
```

or with [Cosmopolitan](https://justine.lol/cosmopolitan/index.html):

```bash
./build-com

# With a file
./scrapscript.com eval examples/0_home/factorial.scrap

# With a string literal
./scrapscript.com apply "1 + 2"

# With a REPL
./scrapscript.com repl
```

(if you have an exec format error and use Zsh, either upgrade Zsh or prefix
with `sh`)

or with Docker:

```bash
Expand Down

0 comments on commit a1d6452

Please sign in to comment.