Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 630 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 630 Bytes

Slang

Slang (short for Sabre Lang) is a tiny LISP built using Sabre.

Installation

  1. Download a release from Releases for your target platfomr.
  2. Extract files and add extraction path to PATH variable.

Usage

  1. slang for REPL
  2. slang -e "(+ 1 2 3)" for executing string
  3. slang -f "examples/simple.lisp" for executing file.

If you specify both -f and -e flags, file will be executed first and then the string will be executed in the same scope and you will be dropped into REPL. If REPL not needed, use -norepl option.