Skip to content

This repository tracks my progress working through the book "Build Your Own Lisp"

Notifications You must be signed in to change notification settings

sunzenshen/go-build-your-own-lisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Go) Build Your Own Lisp

Build Status

This repository tracks my progress working through the book Build Your Own Lisp by Daniel Holden using the Go programming language.

... wait, wasn’t that book about coding a Lisp in C?

After signing up for both LambaConf and GopherCon for 2015, I thought it would be fun to implement a toy functional programming language in Go. Translating the C examples into equivalent Go was also an hands-on way to experiment with my understanding of both languages.

Dependencies

This repository makes extensive use of the mpc library required by the book. Cgo is used to integrate this C code with the rest of the Go-based project.

Here is a post that explains some of the design decisions regarding the Cgo usage in this project.

An isolated branch also includes some experimentation with integrating editline into the command prompt code.