Skip to content

lino-levan/lispy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lispy

A lisp-like language with an implementation written in Rust.

Usage

Open a repl with:

$ lispy repl

Run a file with:

$ lispy run ./examples/hello_world.l

Format all files in the local directory with:

$ lispy fmt

Syntax

This language is very inspired by lisp, so the syntax is very simple. I find lisp syntax far too terse for my liking so I generally tried to simplify it if possible. You can check out the examples folder for how to use the language, but here is a short demo:

(var first 0)
(var second 1)
(while (< first 610)
	(print "[fib] " first)
	(var temp (+ first second))
	(var first second)
	(var second temp)
)

About

A lisp-like language written in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages