1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-10-16 02:37:40 -05:00

docs: update readme to lastest args

This commit is contained in:
Natapat Samutpong 2022-02-02 03:07:50 +07:00
parent 76dd657788
commit a5b2fdca2f

View file

@ -8,15 +8,13 @@ $ bash <(curl -s https://raw.githubusercontent.com/azur1s/bobbylisp/master/insta
``` ```
The binary will be installed in `~/bin/blspc` run it with: The binary will be installed in `~/bin/blspc` run it with:
```bash ```bash
$ blspc -h $ blspc help
``` ```
### <img src="https://raw.githubusercontent.com/azur1s/bobbylisp/master/assets/icon.png" width="15"> Example ### <img src="https://raw.githubusercontent.com/azur1s/bobbylisp/master/assets/icon.png" width="15"> Example
If no `-r` or `-c` specified. It will check for file extension instead.
If found `.blsp`, it will compile, if found `.bsm` it will run vm and interpret the bytecode.
```bash ```bash
$ blspc ./example/hello.blsp $ blspc compile ./example/hello.blsp
$ blspc ./hello.bsm $ blspc run ./hello.bsm
Hello, World! Hello, World!
``` ```