Dotcl: Common Lisp Implementation on .NET

· coding systems · Source ↗

TLDR

  • Dotcl compiles Common Lisp to CIL and runs on the .NET JIT, enabling bidirectional interop with C#/F# and access to NuGet packages.

Key Takeaways

  • Lisp source compiles to Common Intermediate Language via a Roslyn/Reflection.Emit pipeline; after bootstrap with Roswell/SBCL, dotcl self-hosts.
  • dotnet:define-class emits real .NET subclasses, so MAUI, ASP.NET Core, and MonoGame consume Lisp-defined types without special adapters.
  • dotcl.runtime is a plain NuGet library; embed a Lisp evaluator in any .NET project with standard dotnet add tooling.
  • Broadly ANSI-conformant, verified against the ansi-test suite; Quicklisp libraries not using SBCL internals (asdf, alexandria) load normally.
  • Sample projects include an MCP server exposing a Lisp REPL to Claude Desktop and other MCP clients.

Hacker News Comment Review

  • Only one comment posted so far; no substantive technical debate, caveats, or community consensus has formed yet.

Notable Comments

  • @Rochus: Asks how long ANSI conformance took to reach and whether concepts from ABCL were reused – implementation timeline and prior-art reuse remain unanswered.

Original | Discuss on HN