What is the smallest x86 lisp?

This page summarizes the projects mentioned and recommended in the original post on /r/lisp

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • sectorlisp

    Bootstrapping LISP in a Boot Sector

  • sectorlisp implements a dynamically scoped Lisp for 8086 (yes, it will still run on a x86-64 machine as they boot into 8086 mode). Once I considered shrinking it further by using a bytecode for the Lisp interpreter (making it two interpreters in one, yes) which ideally would be smaller than 8086 instructions, but I never got it to work.

  • small-lisp

    A very small lisp interpreter, that I may one day get working on my 8-bit AVR microcontroller.

  • The smallest I've come across is manually building https://github.com/kristianlm/small-lisp with gcc which came out to 18kb. If anyone has seen anything smaller I'd love to hear about it. I'd imagine the only way to really beat 18kb is with some smart linker magic or using asm (I've never seen an asm lisp for x86).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • lisp500

    A mostly-joking implementation of a lisp in just 500 lines of C.

  • This may not be smallest and not specifically for x86 Lisp, but Teemu Kalva's Lisp500 (LIsp in 500 lines of C) is a lot more complete than the above small-lisp. It has working macros, garbage collection and even a compiler.

  • femtolisp

    a lightweight, robust, scheme-like lisp implementation

  • For a real answer, other replies have already mentioned KiloLisp, but there's also femtolisp. Also, not exactly what you're asking for, but Maru is a very compact and elegant self-hosting lisp (compiles to x86).

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • KeePassXC Debian maintainer has removed all network features

    6 projects | news.ycombinator.com | 10 May 2024
  • Fwupd: Passim listens on 0.0.0.0:27500 and [:]:27500 until reboot

    1 project | news.ycombinator.com | 10 May 2024
  • Show HN: A simple 2D fluid and gravity simulation with WASM and WebGL

    2 projects | news.ycombinator.com | 8 May 2024
  • Apple Joins the SeL4 Foundation

    1 project | news.ycombinator.com | 10 May 2024
  • It's always TCP_NODELAY. Every damn time

    7 projects | news.ycombinator.com | 9 May 2024