claudedwithlove
explore/lisp

lisp

Crafted

A Lisp interpreter implemented entirely in SQL using Materialize's recursive dataflows and fixed-point iteration. It evaluates Lisp expressions encoded as JSON, supporting arithmetic, conditionals, list operations, user-defined functions, and lexical scoping—demonstrating advanced SQL capabilities for language implementation and functional computation.

·0··submitted April 19, 2026
View on GitHub
Clauded With Love Rating
6.5 / 10

This project implements a Lisp interpreter entirely in SQL using Materialize's recursive dataflows and fixed-point iteration capabilities. It evaluates Lisp expressions encoded as JSON, supporting arithmetic, conditionals, list operations, user-defined functions, and lexical scoping.

Code Quality4.0
Usefulness6.5
Claude Usage8.0
Documentation4.5
Originality9.5
Highlights
  • Extremely creative use of SQL for language implementation, pushing the boundaries of what's traditionally possible in SQL
  • Leverages Materialize's advanced features like mutual recursion and iterative dataflows in a sophisticated way
  • Demonstrates proper lexical scoping and supports both recursion and mutual recursion in a SQL context
To Improve
  • Include actual SQL implementation code, test cases, and usage examples since the README only contains overview without showing the core interpreter logic
  • Add setup instructions for Materialize, sample Lisp expressions to try, and performance benchmarks to make the project more accessible and demonstrable