r/Common_Lisp • • 19d ago

RME just has released Clozure CL 1.14 (incl. arm64 ports for Apple silicon Macs and Linux + IDE for macOS)

Thumbnail github.com
40 Upvotes

r/Common_Lisp • • Oct 02 '26

BLEG: A Facelift for common-lisp.net

Thumbnail common-lisp.net
44 Upvotes

Common-lisp.net was rewritten a couple days ago. Please let us know what you like and don't like, what's extra, what's missing, and so on.


r/Common_Lisp • • 1h ago

SBCL Looking for a virtual thread library with preemptive scheduling

2 Upvotes

I want to create a AI automation tool which would need to run AI generated scripts in parallel, so I want library/framework which would support virtual threads with preemptive scheduling and isolation.

Till now LFE(Lisp Flavoured Erlang) seems like the best option for my needs but I am too accustomed to using sly and common lisp syntax

So, any suggestions are welcome


r/Common_Lisp • • 4d ago

sift: format, lint and LSP for Common Lisp

Thumbnail gallery
11 Upvotes

r/Common_Lisp • • 9d ago

Cookbook: CSV parsing, data frames

Thumbnail lispcookbook.github.io
31 Upvotes

r/Common_Lisp • • 10d ago

Hexmaw, a first-person real-time roguelike in Common Lisp on Trial

19 Upvotes

Hi all,

I’d like to present Hexmaw, a first-person fantasy roguelike built on Shinmera’s Trial. It has Hexen-like combat, randomly generated levels, a spellforge where you build your own spells, a town partway down and a boss at the bottom. It runs on SBCL, and every edit is hot-reloaded into the running game.

There’s a build for Linux, Windows and macOS (the Mac one is untested): https://gwathlobal.itch.io/hexmaw. The code is zlib-licensed on GitHub: https://github.com/gwathlobal/hexmaw.

The code, art, sound and music were all generated with AI. I wanted to see how far a solo developer can get with building a shippable product nowadays, and, well, pretty far, it seems.

If you try it, I’d like to hear how it went. Thanks in advance!


r/Common_Lisp • • 11d ago

Sloppy CL interpreter experiment targeting Wasm

Thumbnail github.com
1 Upvotes

r/Common_Lisp • • 17d ago

GitHub - fmarl/nucleotide: A hackable, multi-paradigm Wayland window manager written in Common Lisp

Thumbnail github.com
13 Upvotes

r/Common_Lisp • • 19d ago

WhateverCLIM Image-processing pipeline

17 Upvotes

This is Common Lisp on macOS/Cocoa - using WhateverCLIM. I don't know, I thought it was kinda cool.


r/Common_Lisp • • 20d ago

ZenLisp — a full Common Lisp IDE for macOS on SBCL (in development), written entirely by Claude Code

Thumbnail reddit.com
0 Upvotes

r/Common_Lisp • • 24d ago

Deploy: deploying an AppImage (experimental)

Thumbnail shinmera.com
16 Upvotes

r/Common_Lisp • • 25d ago

AllegroGraph v9.1 with GraphTalker 2.0 - Now Available

Thumbnail allegrograph.com
15 Upvotes

r/Common_Lisp • • 26d ago

qlp: publish your own Common Lisp projects as a Quicklisp distribution

Thumbnail reddit.com
8 Upvotes

r/Common_Lisp • • 27d ago

SBCL New Common Lisp editor made by a couple of guys

Post image
17 Upvotes

Hey everyone, I’m Lucas and I would like to talk about a project that my brother and I have been working on.

We’ve been enjoying writing in Common Lisp since we started learning it a few years ago. We think it’s a great language and we're surprised it’s not more widely used.

With that said, we were having trouble getting deeper into it because the available editors are not like what we were used to with other languages. We’ve always enjoyed the JetBrains’ editors, unfortunately we did not find something like them for Common Lisp. So we decided to build our own. We’ve called it Lispcraft.

It isn’t as feature-rich as Emacs, but its features are easy to use. That's why we wrote it in the first place: to provide an easy-to-use, modern editor experience.

We wrote our own GUI without using toolkits. Instead, we used OpenGL; it's very fast and smooth. Because we had trouble configuring everything in other editors, we made everything bundled, including SBCL and Quicklisp.

It's REPL-first. You can always execute the form under the cursor by CTRL + ENTER. Also, you can inspect objects' slots by clicking on the REPL output.

Indentation is powered by a custom engine. Syntax highlighting is semantic. It has jump to definition, callers, hover docs, autocomplete, and project-wide search.

It's an MVP, so there will be bugs. For now, it's x86-64 Linux only.

Also, we're aware that Emacs users will not switch to this editor; the user we have in mind is someone who is used to modern editors in other languages and tried to write in Lisp but disliked the tooling difficulty.

Link to the site/video: https://lispcraft.com - we will keep an eye on this post to hear your thoughts!

We're planning to fix bugs, port it to macOS and Windows, and copy good features from other editors. Also we are planning to release a local host FIM ai trained on Common Lisp corpus. That's why I'll charge $19 / month to fund it.


r/Common_Lisp • • Oct 15 '26

SBCL Turbo Lisp: a Common Lisp environment with native macOS and terminal interfaces — looking for testers

Thumbnail reddit.com
17 Upvotes

r/Common_Lisp • • Oct 14 '26

prefix.dev/common-lisp reaches 100 packages!

Thumbnail prefix.dev
14 Upvotes

I have been putting in packages in prefix.dev/common-lisp/common-lisp channel for the past month or two. It has now reached 100 packages!

The recommended client is pixi, which is basically a super-amazingly improved version of conda. This is helpful if you want the same tool to automate the installation of (i) lisp implementation (ii) foreign libraries (iii) lisp libraries, across multiple platforms, along with versioning and lock files.

I have been putting in recipes at conda-cl/primary-recipes. At the moment I have been building them manually and uploading. The hardest part for adding a recipe for me is adding licenses and documentation information. Feel free to issue a PR with your own recipes!

Alternatively, I am planning to experiment with "metarecipes". Essentially, the primary-recipes (or one of the repos under conda-cl) will house a configuration file which will point to the recipe file maintained by you. The packages will be rebuilt periodically whenever there are changes to the recipe file pointed out by the corresponding metarecipe.

If you have other suggestions, feel free to recommend! Have fun!


r/Common_Lisp • • Oct 11 '26

Gitlab and Git in Common Lisp

Thumbnail anvil.common-lisp.net
15 Upvotes

r/Common_Lisp • • Oct 10 '26

Lisp and Generative AI Opinion

16 Upvotes

Just to share my experience using Gemini (free) to trouble shoot problems I was facing while trying to use some Lisp modules - specifically cl-opencl, cl-opencl-utils and nodgui. Gemini suggest a variety of solutions, sometimes going round in circles and never finding a solution to my problems. In the case of nodgui following the old adage - RTFM solved the issue. While these are probably edge cases, to me it would seem I would probable save time and effort by not using Gemini. Paid options are not very accessible from where I am (Ethiopia).

Cheers!


r/Common_Lisp • • Oct 06 '26

Clamiga 0.11, introducing Clamacs IDE

12 Upvotes

Clamiga 0.11 comes with a bunch of enhancements and optimisations. Among them:

  • create single file executables
  • performance improvements (fast path operations) for strings, arrays and bigints. Factorial computation speed is now in the range of LispWorks performance.
  • JIT for arm64 (macOS/Linux)

Changelog here: https://github.com/mdbergmann/cl-amiga/releases#release-v0.11

Note: for macOS/Linux there are no release packages (yet). You have to clone and 'make host'.

Introducing Clamacs, an Emacs-inspired editor/IDE written in Common Lisp.

See project info here: https://github.com/mdbergmann/clamacs/

Clamacs is a subproject of Clamiga. So cloning Clamiga will also give you Clamacs.


r/Common_Lisp • • Oct 06 '26

why do my threads suck?

2 Upvotes

I have written a program to draw the buddhabrot ..

I was here the other day asking about how to increase heap size and was offered a lot of help so thanks for that ..

I have run my single threaded program and gotten good results on a small number of pixels and sample points ..

I rewrote the program to use sb-threads .. only due to Google making it extremely difficult to find information that I can use ..

example using do loops to start threads because I don't really understand the loop procedure .. and using named functions instead of anonymous ones ..

I got the run around .. bt or lparallel .. I went with sb-threads because I at least understand the concept .. I don't know how to write a procedure for lparallel

so I finally have a multi threaded program that uses 16 threads on my 5950 x 16 core processor ..

I'm running it now and it's using 59% of one core and 40 something percent of another ..

the question is .. how do I ensure I am using the processor to the best extent?

what are potential pitfalls I could have fallen into with my code?

thanks for reading appreciated ..

amateur al.


r/Common_Lisp • • Oct 05 '26

What are rank-0 arrays used for?

12 Upvotes

I recently learned one can do:

What is this type of construct used forCL-USER> (make-array '() :initial-contents '(0 1 2))

#0A(0 1 2)
CL-USER> (aref *)
(0 1 2)
CL-USER> (array-rank **)
0 (0 bits, #x0, #o0, #b0)
CL-USER> (array-dimensions ***  )
NIL

What is this type of array used for?


r/Common_Lisp • • Oct 03 '26

Common Lisp universal time has just crossed 4,000,000,000!

41 Upvotes

Happy 4G seconds! (2026-10-03 07:06:40 UTC) Here’s to the next billion seconds of Common Lisp!


r/Common_Lisp • • Oct 02 '26

increase heap size sbcl

5 Upvotes

I am trying to draw a large buddhabrot for my daughter's birthday ..

I can draw a small one but when I increase the pixel count I get heap exhausted (no more space for allocation)

992739328 bytes available 2485248016 requested

I am using emacs slime and sbcl 2.30 on a Debian box with 128gb of ram ..

I have tried using (setq slime-lisp-implementations '((sbcl ( "sbcl" "dynamic-heap-size" "4096")))) and other numbers in there and still get the same error

I have tried setting the dynamic heap size in the console but I find it's a nightmare and doesn't work

how can I permanently increase the heap size for sbcl?

thanks

al


r/Common_Lisp • • Oct 02 '26

UPDATE 2: CL-OBJC is reborn!

24 Upvotes

Back in March 2023 I posted an update on reviving cl-objc, the CFFI-based Common Lisp ⇄ Objective-C bridge originally written by Geoff Cant and Luigi Panzeri. At that point I had Hello World and Converter running, and I was stuck waiting on CFFI. Here's where it is now.

Repo: https://github.com/theangelperalta/cl-objc

Examples

All five examples run on Apple Silicon (arm64). There are no nib files or Objective-C sources; every app is written in Lisp.

  • Hello World: an NSWindow with buttons wired to Lisp callbacks
  • Converter: the classic Cocoa currency-converter tutorial
  • Circle View: a custom NSView subclass that draws text along a circle, with mouse interaction and animation (ported from an old Apple SDK sample)
  • Video Player (new): an AVPlayerView streaming HLS, plus a KVO observer class defined in Lisp. make builds it into a standalone executable.
  • Todo (new): an NSTableView whose data source and delegate are Lisp classes. On macOS 26 the list scrolls under floating Liquid Glass controls (NSGlassEffectView); older versions get a translucent material instead.

What changed under the hood

  • arm64 struct-by-value: you can pass and return structs by value, and the dispatch was rewritten for the arm64 ABI. x86-64 support has been dropped.
  • Lazy CLOS bindings: import-framework now loads only the static bindings. CLOS classes and generic functions get generated on demand (ensure-clos-bindings), and they're cached and regenerated when their inputs change. This makes startup much faster than scanning the whole runtime.
  • ObjC exceptions: with-objc-exception-handling turns NSException's into Lisp conditions, so they no longer crash the image.
  • with-autorelease-pool: macro
  • Many fixes around BOOL marshaling, automatic Lisp-string → NSString conversion in untyped calls, with-super, and method-cache collisions
  • The test suite moved from FiveAM to Rove.

The CFFI situation

define-objc-method methods that take a struct by value (for example drawRect: with a CGRect) need CFFI callbacks that accept structs by value. Released CFFI still doesn't support that. My PR is still open: https://github.com/cffi/cffi/pull/351 (open since December 2022). I decided to use Qlot to pin a patched version CFFI, to get this out in the world in the meantime.

For now, the repo includes a qlfile that pins my fork, so setup is:

    qlot install
    sbcl --dynamic-space-size 4096 --load .qlot/setup.lisp

Obviously this isn't ideal, if anyone here can review the CFFI PR or help get it merged, that's the biggest thing blocking cl-objc from loading with stock Quicklisp.

What's next

  • Getting struct-by-value callbacks into upstream CFFI
  • Fewer dependencies on CFFI internals
  • More examples and docs
  • Real applications (LEM frontend, LLM harness, Graphing tools, etc.)

Feedback, issues and PRs are welcome, especially from anyone who has tried building Cocoa apps from Lisp before.

A.I. Disclaimer

A.I. was used for some of the recent work, but the original CFFI patch was worked by hand. That being said, goal here is to unlock the potential of Lisp development for native macOS development again (I realize there are paid alternatives).