Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Run Common Lisp from shell easily.

tree: d13fcbced8

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 src
Octocat-spinner-32 t added tests for shelly.core:read. April 21, 2012
Octocat-spinner-32 .gitattributes added .gitattribute and updated bin/shly. April 18, 2012
Octocat-spinner-32 README.markdown
Octocat-spinner-32 shelly-test.asd Initial commit. April 15, 2012
Octocat-spinner-32 shelly.asd
README.markdown

Shelly - Run Common Lisp from shell easily.

Usage

$ shly ql:update-all-dists --prompt nil
$ shly ql:system-apropos clack
$ shly ql:quickload :clack
$ shly -Lclack clackup /path/to/project/app.lisp
$ shly -Ldrakma http-request http://www.hatena.com/

Description

Shelly allows you to execute Common Lisp functions like a shell command.

Warning: This software is still ALPHA quality. The APIs will be likely to change.

Requirements

  • Lisp implementation (SBCL, Clozure CL, Allegro CL, GNU CLISP, CMUCL or ECL)
  • Perl5
  • Quicklisp or ASDF (Quicklisp is recommended)

Dependencies

All dependencies will be resolved by Quicklisp, so you don't need to know about this.

Though I recommend you to install Quicklisp, if you decided to use ASDF for instead, you have to install these libraries before installation.

Installation

(ql:quickload :shelly)
(shelly:install)

or

$ curl -L http://xrl.us/shly | LISP_IMPL=ccl perl - install

Change LISP_IMPL to your Lisp implementation name which is one of sbcl, ccl, alisp, clisp, cmucl and ecl.

Configuration

Add the following code to your Shell configuration file (such like .bashrc or .zshrc).

PATH=$HOME/.shelly/bin:$PATH

How to use

$ shly --help

Author

Copyright

Copyright (c) 2012 Eitarow Fukamachi (e.arrows@gmail.com)

License

Licensed under the BSD License.

Something went wrong with that request. Please try again.