Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xyproto/lisp
Two small wrapper scripts for running Lisp files with Steel Bank Common Lisp
https://github.com/xyproto/lisp
lisp sbcl shell-script
Last synced: 3 days ago
JSON representation
Two small wrapper scripts for running Lisp files with Steel Bank Common Lisp
- Host: GitHub
- URL: https://github.com/xyproto/lisp
- Owner: xyproto
- License: gpl-2.0
- Created: 2018-08-27T17:42:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-01T13:23:14.000Z (about 6 years ago)
- Last Synced: 2025-01-11T00:52:55.848Z (25 days ago)
- Topics: lisp, sbcl, shell-script
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# lisp
Two small wrapper script to make dealing with SBCL more intuitive for newcomers to LISP.
## Interactive use
lispi
(+ 1 2)Then press `ctrl-d` to exit.
## Running a file
Create **hello.cl** with this content:
```lisp
(defun main ()
(write-line "Hello, World!"))
```Run the `main` function in `hello.cl` with:
lisp hello.cl
The function to run can also be specified explicitly:
lisp hello.cl main
## Usage
* For the `lisp` command, the first argument is the filename, the second (optional) argument is the name of the function to evaluate. `main` is the default function name.
* For the `lispi` command, the first (optional) argument is the name of a file to load.## Dependencies
* SBCL, with `/usr/bin/sbcl` available.
* A POSIX shell, with `/bin/sh` available (should come by default with all distros).## Installation
### Arch Linux
Just install the `lisp` package from AUR.
### From source
With the correct permissions:
PREFIX=/usr make install
## General information
* Version: 1.2.0
* License: GPL2
* Author: Alexander F. Rødseth <[email protected]>