Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

an experimental tiny lisp-like language written in ruby using treetop

tag: v0.0.4

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Crisp

Crisp is an experimental language written in Ruby, using treetop.

Crisp has a Lisp syntax and immutable data structures.

The main purpose of the language is to deal with the issues and problems when creating your own programming language.

Example

    >> (* 2 3)
    => 6
    >> (def foo 4)
    => 4
    >> (/ (* foo foo) 2 2)
    => 4
    >> (def add2 (fn [arg] (+ 2 arg)))
    => #<Crisp::Function:0x85d1bc0>
    >> (add2 5)
    => 7

Installation

gem is coming soon.

Usage

To start an interactive shell: crisp

To run a crisp programm crisp /path/to/file

Something went wrong with that request. Please try again.