Skip to content

Lifep (Lisp interpreter For Educational Purposes)

Notifications You must be signed in to change notification settings

TrackSpike/Lifep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LiFep

LiFep (Lisp Interpreter For Educational Purposes)

With inspiration from https://github.com/kanaka/mal

Features

  • Support for basic atoms (Booleans, Nil, Integers)
  • Support for Globally scoped definitions with def! and Local definitions with let*
  • Support for if and do
  • Support for custom functions with fn*

Examples

Fibonacci

(def! fib (fn* (N) (if (= N 0) 1 (if (= N 1) 1 (+ (fib (- N 1)) (fib (- N 2)))))))

(fib 10)

About

Lifep (Lisp interpreter For Educational Purposes)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages