Skip to content

Add Common Lisp support via SBCL#446

Open
nelsonlove wants to merge 2 commits into
twibiral:masterfrom
nelsonlove:add-common-lisp-sbcl
Open

Add Common Lisp support via SBCL#446
nelsonlove wants to merge 2 commits into
twibiral:masterfrom
nelsonlove:add-common-lisp-sbcl

Conversation

@nelsonlove

Copy link
Copy Markdown

Summary

Adds Common Lisp as a supported language, executed via SBCL (sbcl --script).

Code blocks tagged lisp get a run button and execute through the generic NonInteractiveCodeExecutor, following the same pattern as Racket:

(format t "Hello, World!~%")

Changes

  • src/main.ts — add lisp to canonicalLanguages
  • src/settings/Settings.tslispPath/lispArgs/lispFileExtension/lispInject + lispInteractive, with defaults sbcl --script, .lisp extension
  • src/settings/per-lang/makeLispSettings.ts — new settings panel (mirrors makeRacketSettings.ts)
  • src/settings/SettingsTab.ts — register the panel
  • src/settings/languageDisplayName.ts — display name "Common Lisp"
  • src/RunButton.ts — dispatch case for lisp
  • README.md — language list + Common Lisp details block

Testing

  • npm run build passes (tsc typecheck + esbuild)
  • Verified the exact spawned invocation locally: sbcl --script <tempfile>.lisp runs and prints output (SBCL 2.x via Homebrew, macOS)

🤖 Generated with Claude Code

nelsonlove and others added 2 commits July 10, 2026 22:12
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant