Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RLisp is a Lisp dialect naturally embedded in Ruby
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
benchmarks Directory tree is a total mess, reorganizing it into somewhat toward …
debian
doc
examples
shebang
src
tests
.gitignore
COPYING
README.md
RLisp.spec
Rakefile

README.md

rlisp

RLisp is a Lisp dialect naturally embedded in Ruby

Usage

Tests in tests/ and examples in examples/ are about the only documentation. You can also check rlisp-related posts on my blog at http://t-a-w.blogspot.com/search/label/rlisp but they might not necessarily be up to date.

For interactive environment use:

$ ./src/rlisp.rb
rlisp> (+ 2 2)
4
rlisp> ^D
$

For running things use:

$ ./src/rlisp.rb tests/fib.rl
(1 2 3 5 8)
$

You can write RLisp one-liners with -e:

$ ./src/rlisp.rb -e '(print (+ 2 40))'
42
$

or with -i -e to print all evaluated expressions:

$ ./src/rlisp.rb -ie '(+ 2 40)'
42
$

Enjoy :-)

Sources

Except for benchmarks/ruby/, the code was written by Tomasz Wegrzanowski Tomasz.Wegrzanowski@gmail.com

The code is available under MIT-like Licence (see doc/COPYING).

Something went wrong with that request. Please try again.