peaceful-bit/slate-lang

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v0.1) of this package.

My small interpreter of lisp-like code written on PHP.

v0.1 2016-11-02 12:48 UTC

This package is not auto-updated.

Last update: 2023-04-29 12:04:21 UTC


README

Build Status Coverage Status Scrutinizer Code Quality

My implementation of lisp-like language interpreter written on PHP.

Installation

$ composer global require peaceful-bit/slate-lang

Usage

$ slate program.st
$ cat program.st | slate -s

Code example

; Define constant
(def pi 3.14)

; Define function
(def (square-of-circle r) (* pi (pow r 2)))

; Call function
(print (square-of-circle 15))