Mercurial > lbo > hg > ylisp
changeset 171:92c4365ce0b2
doc: Mention interpreter(s) in documentation
author | Lewin Bormann <lbo@spheniscida.de> |
---|---|
date | Tue, 03 Sep 2019 20:20:06 +0200 |
parents | df15d77ffff1 |
children | d7fe74faaa7a |
files | doc/execution.md |
diffstat | 1 files changed, 15 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/execution.md Tue Sep 03 20:18:16 2019 +0200 +++ b/doc/execution.md Tue Sep 03 20:20:06 2019 +0200 @@ -1,5 +1,20 @@ @page Execution Execution +You can run ylisp scripts using the interpreter binary. + +``` +$ mkdir build && cd build +build$ cmake .. +build$ make +build$ src/bin/ylisp ../test.yl +``` + +You can also use ylisp interactively using the REPL interpreter. + +``` +build$ src/bin/repl +``` + ## Execution model. Names are scoped and visible in the scope they are defined in, after being