2022-01-26 08:59:05 -06:00
|
|
|
# <img src="https://raw.githubusercontent.com/azur1s/bobbylisp/master/assets/icon.png" width="35"> bobbylisp
|
2022-01-21 17:43:50 -06:00
|
|
|
another lisp dialect
|
2022-01-25 21:54:07 -06:00
|
|
|
> Also available on https://git.ablecorp.us/azur/bobbylisp
|
2022-01-21 17:43:50 -06:00
|
|
|
|
2022-01-26 08:59:05 -06:00
|
|
|
## <img src="https://raw.githubusercontent.com/azur1s/bobbylisp/master/assets/icon.png" width="25"> Installation
|
2022-01-24 14:08:41 -06:00
|
|
|
```bash
|
2022-01-26 08:54:40 -06:00
|
|
|
$ bash <(curl -s https://raw.githubusercontent.com/azur1s/bobbylisp/master/install.sh)
|
2022-01-24 14:08:41 -06:00
|
|
|
```
|
|
|
|
The binary will be installed in `~/bin/blspc` run it with:
|
2022-01-25 21:54:07 -06:00
|
|
|
```bash
|
2022-01-24 14:08:41 -06:00
|
|
|
$ blspc -h
|
|
|
|
```
|
|
|
|
|
2022-01-26 08:59:05 -06:00
|
|
|
### <img src="https://raw.githubusercontent.com/azur1s/bobbylisp/master/assets/icon.png" width="15"> Example
|
2022-01-26 02:41:31 -06:00
|
|
|
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.
|
2022-01-25 21:54:07 -06:00
|
|
|
```bash
|
|
|
|
$ blspc ./example/hello.blsp
|
2022-01-26 02:41:31 -06:00
|
|
|
$ blspc ./hello.bsm
|
2022-01-25 21:54:07 -06:00
|
|
|
Hello, World!
|
|
|
|
```
|
|
|
|
|
2022-01-26 08:59:05 -06:00
|
|
|
## <img src="https://raw.githubusercontent.com/azur1s/bobbylisp/master/assets/icon.png" width="25"> Progress:
|
2022-01-27 03:08:21 -06:00
|
|
|
TODO:
|
|
|
|
- Quote, Quasiquote, etc.
|
|
|
|
- Optimizing
|
2022-01-27 17:39:57 -06:00
|
|
|
- Remove unnecessary copying in the entire codebase
|