Skip to content
/ slang Public

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

License

Notifications You must be signed in to change notification settings

spy16/slang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

35654fe · May 15, 2020

History

7 Commits
Feb 24, 2020
May 15, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
May 15, 2020
May 15, 2020
Mar 2, 2020
Mar 2, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020
Feb 24, 2020

Repository files navigation

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.