Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spy16/slang
Slang (short for Sabre Lang) is a tiny LISP dialect built using Sabre
https://github.com/spy16/slang
golang lisp lisp-interpreter sabre
Last synced: about 1 month ago
JSON representation
Slang (short for Sabre Lang) is a tiny LISP dialect built using Sabre
- Host: GitHub
- URL: https://github.com/spy16/slang
- Owner: spy16
- License: gpl-3.0
- Created: 2020-02-24T12:15:31.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-15T07:18:17.000Z (over 4 years ago)
- Last Synced: 2024-06-20T01:05:32.527Z (8 months ago)
- Topics: golang, lisp, lisp-interpreter, sabre
- Language: Go
- Size: 36.1 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Slang
Slang (short for Sabre Lang) is a tiny LISP built using [Sabre](https://github.com/spy16/sabre).
## Installation
1. Download a release from [Releases](https://github.com/spy16/slang/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.