mirror of
https://github.com/azur1s/bobbylisp.git
synced 2024-10-16 02:37:40 -05:00
docs: update readme
This commit is contained in:
parent
598ef08b5d
commit
25128092e1
14
README.md
14
README.md
|
@ -14,10 +14,10 @@ another lisp dialect
|
|||
|
||||
Compliation flow:
|
||||
```
|
||||
Input(file) -> Parser -> Compile(Bytecode) -> Interpret(blvm)
|
||||
String SExprs Bytecode IO
|
||||
|-> Compile
|
||||
Assembly(?)
|
||||
Input(file) -> Parser -> Compile(Bytecode) -> Interpret
|
||||
String SExprs Bytecode IO
|
||||
|-> Compile
|
||||
Assembly(?)
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
@ -34,9 +34,11 @@ $ blspc -h
|
|||
```
|
||||
|
||||
### 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
|
||||
$ blspc ./example/hello.blsp
|
||||
$ blvm hello.bbb
|
||||
$ blspc ./hello.bsm
|
||||
Hello, World!
|
||||
```
|
||||
|
||||
|
@ -44,4 +46,4 @@ Hello, World!
|
|||
- [X] Lexer & Parser
|
||||
- [ ] Syntax checker & Type checker
|
||||
- [ ] Interpreter
|
||||
- [ ] Compiler
|
||||
- [X] Compiler
|
||||
|
|
Loading…
Reference in a new issue