You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#+TITLE: mal - Make a Lisp
|
|
|
|
#+AUTHOR: Riyyi
|
|
|
|
#+LANGUAGE: en
|
|
|
|
#+OPTIONS: toc:nil
|
|
|
|
|
|
|
|
This is an implementation of the [[https://github.com/kanaka/mal][Make A Lisp]] project, done in C++20.
|
|
|
|
|
|
|
|
** Usage
|
|
|
|
|
|
|
|
*** Run the REPL
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell-script
|
|
|
|
$ make run
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
*** Run mal tests
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell-script
|
|
|
|
$ make test0 | less
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
** Download
|
|
|
|
|
|
|
|
*** Clone
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell-script
|
|
|
|
$ git clone https://github.com/riyyi/blaze
|
|
|
|
$ cd blaze
|
|
|
|
$ git submodule update --init --recursive
|
|
|
|
#+END_SRC
|
|
|
|
Or
|
|
|
|
#+BEGIN_SRC shell-script
|
|
|
|
$ git clone --recursive https://github.com/riyyi/blaze
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
*** Update
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell-script
|
|
|
|
$ git pull
|
|
|
|
$ git submodule update --recursive
|
|
|
|
#+END_SRC
|
|
|
|
|
|
|
|
** Build instructions
|
|
|
|
|
|
|
|
#+BEGIN_SRC shell-script
|
|
|
|
$ mkdir build
|
|
|
|
$ cd build
|
|
|
|
$ cmake .. && make
|
|
|
|
#+END_SRC
|