TL;DR
SLED (Schemy Lisp en DOS) is a minimalist LISP interpreter inspired by Scheme, designed to run on DOS systems. It features two primary data types, Pairs and Atoms, with Atoms further categorized into Symbols, Closures, and Special Symbols.
✦ Why It Matters
Explore SLED to enhance your understanding of LISP in a retro computing context.
Key Takeaways
Full Summary
SLED, or Schemy Lisp en DOS, is a symbolic LISP interpreter that operates on DOS platforms like FreeDOS and MS-DOS, as well as DOS emulators. It is derived from Kilo LISP but simplifies the language by removing macros while enhancing other features.
SLED supports two primary data types: pairs and atoms, with atoms further categorized into symbols, closures (functions), and special symbols. The interpreter emphasizes immutability, meaning once symbols and functions are defined, they cannot be altered.
Notably, SLED does not support numeric types directly; instead, it uses lists to represent natural numbers. The system also incorporates recursion with tail-call optimization to prevent stack overflow, making it efficient for deep recursive calls.
Overall, SLED provides a unique environment for LISP programming on older systems, appealing to enthusiasts of retro computing.
Related