Skip to content

Aadv1k/lisp-in-lisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lisp^2

This is a very barebones and experimental implementation of common lisp within itself.

Build

This project is built using common lisp via Steel Bank Common Lisp so I would direct you to their install page

Testing can be done via pest, which is a simple

$ sbcl --script ./tests/tokenizer-test.lisp
$ sbcl --script ./tests/parser-test.lisp

Supported Syntax

$ sbcl --script ./main.lisp
================DEMO#1=================
input: (+ 2 2)
expected: 4
output: (4)
================DEMO#2=================
input: (* 3 4)
expected: 12
output: (12)
================DEMO#3=================
input: (- 5 6)
expected: -1
output: (-1)
================DEMO#4=================
input: (/ 7 8)
expected: 7/8
output: (7/8)
================DEMO#5=================
input: (- (- 11 10) (* 9 10))
expected: -89
output: (-89)
========================================

About

An experimental implementation of common lisp within common lisp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published