1
1
Fork 0
mirror of https://github.com/azur1s/bobbylisp.git synced 2024-09-28 03:17:32 +00:00
Another lisp dialect (mirror)
Go to file
2022-02-11 18:07:32 +07:00
assets feat: one line install 🎉 2022-02-11 18:07:32 +07:00
blspc refactor: cleanup unused, def => let 2022-02-11 18:07:32 +07:00
example refactor: cleanup unused, def => let 2022-02-11 18:07:32 +07:00
.gitignore refactor: move instructions definition to middle 2022-02-11 18:07:32 +07:00
Cargo.lock refactor: merge all repos 2022-02-11 18:07:32 +07:00
Cargo.toml refactor: merge all repos 2022-02-11 18:07:32 +07:00
install.sh refactor: reindent 2022-02-11 18:07:32 +07:00
Makefile refactor: merge all repos 2022-02-11 18:07:32 +07:00
README.md refactor: cleanup unused, def => let 2022-02-11 18:07:32 +07:00
test.sh refactor: change register format 2022-02-11 18:07:32 +07:00

bobbylisp

another lisp dialect

Also available on https://git.ablecorp.us/azur/bobbylisp

Installation

$ bash <(curl -s https://raw.githubusercontent.com/azur1s/bobbylisp/master/install.sh)

The binary will be installed in ~/bin/blspc run it with:

$ blspc help

Example

$ blspc compile ./example/hello.blsp
$ blspc run ./hello.bsm
Hello, World!

Progress:

DONE:

  • Parsing, Compiling, Running(VM)
  • Intrinsic:
    • Function definition: fun
    • Variable definition: let
    • Do blocks: do
    • Printing: print
    • Condition: if
    • Math:
      • + , add
      • - , sub
      • * , mul
      • / , div

TODO:

  • Prove turing complete
  • Do the intrinsic left
  • Quote, Quasiquote, etc.
  • Optimizing
  • Remove unnecessary copying in the entire codebase (also with .unwrap())