Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 891 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 891 Bytes

deploy

Generated by DALL-E Mini

Try out the Slip REPL

About

This project was intended to improve my understanding of programming language design and how languages work under the hood. I also wanted an opportunity to use WebAssembly, which has interested for me a while now and proved really satisfying to get up and running. I used the book "Build Your Own Lisp" as a reference.

Syntax

Slip is a Lisp dialect, so its syntax will be familiar to anyone with functional programming experience.

Arithmetic

(+ 10 10)

Defining variables

(def {x} 10)

Defining functions

(fun {add-10 x} {+ x 10})

For more examples, check out the built-in library.