Skip to content

Commit a1d6452

Browse files
committed
Add Cosmopolitan instructions
1 parent d3f1e63 commit a1d6452

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,24 @@ python3 scrapscript.py apply "1 + 2"
2222
python3 scrapscript.py repl
2323
```
2424

25+
or with [Cosmopolitan](https://justine.lol/cosmopolitan/index.html):
26+
27+
```bash
28+
./build-com
29+
30+
# With a file
31+
./scrapscript.com eval examples/0_home/factorial.scrap
32+
33+
# With a string literal
34+
./scrapscript.com apply "1 + 2"
35+
36+
# With a REPL
37+
./scrapscript.com repl
38+
```
39+
40+
(if you have an exec format error and use Zsh, either upgrade Zsh or prefix
41+
with `sh`)
42+
2543
or with Docker:
2644

2745
```bash

0 commit comments

Comments
 (0)