Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 703 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 703 Bytes

clasp

A Lisp interpreter written in C.

Wrote it inspired by this post about writing an interpreter in Python. As I explain here, didn't feel I learned all I could blindly following the tutorial, failed horribly trying it in C#, so finally tried in C after reading The C Programming Language.

Why the name "clasp"? Because the name "clisp" was already taken.

##Commands

I implement the same commands they have in that post.

  • +,-,*,/
  • , <

  • eq?
  • atom?
  • null?
  • car
  • cdr
  • cond
  • cons
  • quote
  • define
  • set!
  • begin
  • if
  • lambda