Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

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

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages