Femtolisp is a minimal Lisp interpreter and scripting language implemented in C. It is focused on being lightweight, customizable, and easily embeddable into other applications. It has a small memory footprint and provides basic Lisp semantics.
Femtolisp: Minimal Lisp Interpreter & Scripting Language
A lightweight, customizable, and easily embeddable Lisp interpreter and scripting language in C, ideal for applications requiring minimal memory footprint.
What is Femtolisp?
Femtolisp is a lightweight and embeddable Lisp interpreter written in C. Despite its small size, it provides all core Lisp features like a REPL, variables, functions, macros, closures, and more. It compiles to highly optimized native code via libgcc.
With its minimal feature set and liberal license, Femtolisp aims to be embedded into other applications as a customizable scripting runtime. It weighs in at only about 6k LoC, has no dependencies outside of libc, and can compile down to a tiny executable size.
Femtolisp prioritizes C integration and tiny footprint over standardization or comprehensive features. It can be easily customized and extended by modifying or replacing the included base runtime.
Given its focus on small size and customizability versus standard compliance, Femtolisp may appeal to developers who need a scripting runtime for embedding where Lua or other options are too heavy. It provides a basic, customizable Lisp that compiles to native code.
Femtolisp Features
Features
Minimal Lisp interpreter and scripting language
Implemented in C
Lightweight and customizable
Easily embeddable into other applications
Small memory footprint
Provides basic Lisp semantics
Pricing
Open Source
Pros
Lightweight and fast
Easy to embed and extend
Good for scripting simple tasks
Beginner friendly introduction to Lisp
Cons
Limited features compared to full Lisp implementations
Less mature and supported than other scripting languages
Clozure Common Lisp (CCL) is a high-quality, open-source implementation of the Common Lisp programming language. Some key features of CCL include:Runs on Mac OS X, Linux, Android, BSD, Solaris and WindowsCompiles to native code for excellent performanceStable and mature implementation with an extensive language feature setStrong integration with the C...
LispWorks is a full-featured commercial Common Lisp development environment produced by LispWorks Ltd. It includes the following key features:An integrated development environment (IDE) with source code editor, debugger, profiler, and other toolsA high performance native code compilerA graphical user interface (GUI) library and builderA web application development frameworkTools for creating...
MIT Scheme is a dialect of the Lisp programming language that was developed at the Massachusetts Institute of Technology in the 1970s. It is designed to be a simple yet practical implementation of Scheme that focuses on computer science education.Some key features and characteristics of MIT Scheme include:Minimalist design and...
Steel Bank Common Lisp (SBCL) is a mature, open source implementation of the Common Lisp programming language standard. It is known for having excellent performance and stability compared to other Common Lisp implementations.SBCL compiles Common Lisp code to highly optimized native machine code for x86, x86-64, PowerPC, ARM, and other...
Allegro CL is a Common Lisp implementation developed by Franz Inc. that focuses on high performance and robust software delivery. Some key features of Allegro CL include:An advanced optimizing compiler that generates efficient native codeA high performance garbage collectorSupport for multiprocessing and multithreadingAn open source project called AllegroGraph that provides...
GNU Common Lisp (GCL) is a free, open source implementation of the Common Lisp programming language standard. It includes an integrated development environment (IDE) with debugging features, a native code compiler, tools for optimization and delivery, and interfaces to operating system services.Some key features of GCL include:Full implementation of Common...
ManKai Common Lisp (MCL) is an industrial strength Common Lisp implementation designed for high performance, stability, and compatibility. Some key features include:Advanced native compiler with multiple optimization levelsFull Unicode and multi-byte character supportPortable multi-threading and synchronization primitivesComprehensive operating system and C language interfacesEfficient CLOS object system with metaobject protocol (MOP)TCP/IP...
Armed Bear Common Lisp (ABCL) is an open source implementation of the Common Lisp programming language that runs on the Java Virtual Machine (JVM). It allows Lisp code to interoperate seamlessly with Java code and libraries.Some key features of ABCL include:Full implementation of Common Lisp, conforming to the ANSI standardNative...
CLISP is a free, portable, open-source implementation of the Common Lisp programming language. Developed by Bruno Haible and Michael Stoll, it provides a highly compliant Common Lisp environment, supporting most of the features defined in the ANSI Common Lisp standard.Some key features and characteristics of CLISP include:Good performance for a...
CMU Common Lisp (also known as CMUCL) is a free, open-source implementation of the Common Lisp programming language. It was originally developed at Carnegie Mellon University starting in the 1980s.Some key features of CMUCL include:An advanced native code compiler that generates highly optimized machine codeA foreign function interface for interoperating...