Repository navigation
Releases
v0.12
AmiLisp 0.12
Highlights
CL-Amiga is AmiLisp
- The product, the executable and the Lisp-level names are AmiLisp /
amilisp: theAMILISPpackage (amilisp::..., withCLAMIGAkept as a nickname), theAMILISP_*environment variables, the ARexx portAMILISP, the heap imageamilisp.img, the init file.amilisprc/S:.amilisprc, the library directorylib/amilisp/, the FASL cache underS:amilisp/faslcache/. Every old name stays as an alias:*features*carries:amilispand:amiclnext to:clamigaand:cl-amiga, an unsetAMILISP_Xvariable is read asCLAMIGA_X, and the runtime still findsclamiga.img,.clamigarcandlib/clamiga/. The library forks say#+amilisp. - The Aminet package is
dev/lang/amilisp.lha(it replacesdev/lang/clamiga.lha).
The collector
- A backend seam behind
cl_alloc(gc_backend.h, one allocation cursor, one root walk, one arena iterator) with aGC=build knob, and an Immix-style mark-region collector on it — the default on m68k and MorphOS now (make -f Makefile.cross amiga GC=classickeeps the mark-sweep one); the mark-loop pass marks at the visit with a leaf skip;ext:%heap-statsreports the heap. - A thread that comes online during a stop-the-world wait no longer becomes a second initiator (the arm64 CI watchdog).
Clamacs 0.5
- Projects replace perspectives: Open / Switch / Close Project, Recent Projects, a folder requester,
projects.cfgunderENVARC:Clamacs/(~/.clamacs-projects.cfgon the host); the status line and the REPL's title name the project in front. - iedit: edit every occurrence of a symbol at once (
C-;), widen or narrow the scope withM-{/M-}/M-H, the occurrences shown with context onM-n/M-p, marks as colours on MUI. C-c C-k/C-c C-lload on the REPL thread (EXT.DEV REPL-LOAD): the output is streamed, the errors become rows. Load System / Test System pick a system of a.asdthat defines several and load the.asdonce.- The status line names the cursor's package; a file window's title is its full path; a block cursor (View > Block Cursor); an About window; a save into a directory that is not there offers to make it; the right Option (Mac) / right Alt (MorphOS) composes, the left one is Meta; a missing or too old
TextEditor.mccis reported in a requester that names the installed version and the one needed. - The README is a user guide now, shipped as
clamacs.guide; the build and test notes moved todocs/developing.md. Apache License 2.0.
REPL and runtime
- The banner names the build, the heap, the collector, the JIT state and the boot image; the REPL colours its roles — a bold blue prompt,
WARNING/ERRORbadges — with system pens and bold only on an AmigaOS Shell, so it reads on a stock console too. MP:WITH-LOCK-HELDandMP:WITH-RECURSIVE-LOCK-HELDtake:TIMEOUT;MP:THREAD,MP:LOCKandMP:CONDITION-VARIABLEare type specifiers (bordeaux-threads);AMILISP:TYPEXPAND-1/TYPEXPAND, andDEFTYPE's*default for an unsupplied parameter (introspect-environment);LOAD-ASD-SYSTEM/TEST-ASD-SYSTEMtake the system's name.
Verification
- The Vampire 68080 lost-store defect has its record in
docs/vampire-68080-lost-stores.md(core 11350 is clean); the probe sources are retired. The cross toolchain stays at gcc 6.5.0b after a GCC 16 evaluation (13 to 28 % faster at -O2, kept as an option indocs/benchmarks.md). - The Amiga suite's audio one-shot retries until FS-UAE's audio DMA is warm,
AMILISP_SUITE_SKIPleaves out the sections a machine cannot start (AHI on the Vampire), the 68020 suite has a two-hour ceiling, andmake test-gc-stressruns the Clamacs suite as its last leg.
Compatibility notes
- The FASL format stays v40; the cache re-keys to
amilisp-0.12-fasl40(S:amilisp/faslcache/,~/.cache/common-lisp/amilisp-0.12-fasl40/), so caches from 0.11 rebuild transparently. Heap images are v5 and, as always, per-build. - The binaries are
bin/*/amilisp, the imagesamilisp.imgandclamacs.img; the Workbench launchers areAmiLisp/Clamacs,AmiLisp-FPU/Clamacs-FPU,AmiLisp-MOS/Clamacs-MOS. A third-party script that addresses the ARexx portCLAMIGAshould sayAMILISP; an oldS:.clamigarcis still read when there is noS:.amilisprc. - Clamacs reads an old perspectives file as its projects (
projects.cfgfrom then on); on the editor's port thePERSPECTIVESverb isPROJECTSandRECENTnow.
Downloads
amilisp-0.12.0-bin.lha / .zip contain bin/aos3 (68020+, soft-float), bin/aos3-fpu (hard-float, needs an FPU), bin/mos (MorphOS PPC, built natively), each with its amilisp.img and clamacs.img, the runtime library (lib/, FASLs plus sources), the documentation as Markdown and AmigaGuide (README-FIRST.guide first, clamacs.guide is the editor's user guide), the examples and the Workbench icons. Unpack anywhere; no assigns needed.
The binaries are those of snapshot af2bebbb, run on real AmigaOS and MorphOS hardware before the tag. Amiga suite in FS-UAE: 5313/5313 fresh boot, 5303/5303 restored boot (gate run of 2026-10-21); test-extra 18/18 scripts, 13298/0.
v0.11
CL-Amiga 0.11
Highlights
Clamacs rewritten in Common Lisp
- Clamacs, the Emacs-flavoured editor/IDE, is a Lisp program now (
clamacs/lisp/) and runs as a clamiga instance of its own. The release ships it as aclamacs.imgheap image beside every binary (bin/aos3,bin/aos3-fpu,bin/mos) plus its sources and FASLs underlib/clamacs/; theClamacsicons startclamiga --image clamacs.img --eval "(clamacs::run)". The MUI frontend is unchanged in use — buffers, minibuffer, kill ring, Lisp indentation,C-c C-c/C-c C-k/C-c C-l, the REPL, debugger and inspector windows, themes andTEXT SIZE— andS:.clamacsrcdefines commands and binds keys. - Clamacs on the host: the same editor runs on macOS and Linux (
clamacs/host/run.sh,make host-appbuildsClamacs.app) in one native window with the buffers as tabs, over the new TCP development port (lib/dev-tcp.lisp,EXT.DEV.TCP: length-framed lines,AUTH <token>,REPL-ATTACH tcp:host:port/token), which also lets a host Clamacs drive a clamiga on an Amiga. - The
EXT.DEVlayer grewDEFINE-RAW-COMMAND(verbs that take text, not syntax),COMPLETE's fallback to names containing the text, loading and testing an ASDF system by its.asd(Clamiga > Load System / Test System),MP:*THREAD-DEATH-HOOKS*, and a REPL thread that is respawned after a heap-exhaustion death (C-c C-zattaches a new one; the started clamiga's heap is*clamiga-heap*). - A clamiga the editor starts opens its port itself; the two
S:.clamigarclines are only for a clamiga you start yourself and want the editor to find. Connect on a clamiga that has quit offers to start a new one at once.
Standalone executables
(ext:save-image "app" :executable t :toplevel 'app:main :quit t)writes one file that is the program: a copy of clamiga with the image appended, nolib/, image file or launcher beside it. The whole command line belongs to the program (ext:*command-line-args*),:toplevelis what it runs (its return is exit 0,(quit n)isn),:heap-sizethe heap it starts with; it starts from a Shell or a Workbench icon (ARGStool type, project icons). Each platform builds its own;tests/test_executable.shandtests/amiga/exe-save.lispare the runnable examples.- A
SAVE-IMAGEthat is refused names the worker threads in the way (... still running ("arexx-port") ...) and says what to do; the clean way to save an image or executable is a clamiga started with--no-userinit.
JIT
- An AArch64 backend for arm64 hosts (Apple silicon, Linux arm64): template JIT with direct native-to-native calls and
&optional/&restprologues —make hostuses it there. - m68k: direct native-to-native calls through call-site cells (one call generation word, bumped by every function-cell write and every GC; a miss into a builtin or an interpreted function costs nothing extra),
&key,&optionaland&restprologues, positional arity up toOP_CALL's 255, tail calls into other functions, native functions push call frames so backtraces carry line numbers, native loops poll for GC, interrupts and Ctrl-C, and lazy compilation: a function is compiled when it turns hot (FASL v39;(optimize (speed 3))compiles at definition).
Runtime, GC and MP
- Heap images reopen the Amiga library bases of the
AMIGA.*modules after a restore (amiga.ffi:define-library-variable,EXT::*SYSTEM-RESTORE-HOOKS*), store each source-file name once (image v5), read their payload only once the heap exists, and hand memory back on a failed start. - GC compaction forwards through a live-granule bitmap instead of a heap-sized forwarding table — the allocation stall of the low-end 68020 suite is gone; a fresh keyword no longer comes back from
INTERNas a stale offset; the reader's line table follows a cons the collector moves. - Shutdown reaps worker threads that finished but were never joined, stops workers still running on AmigaOS, and bounds its waits by the clock rather than counted naps (Windows ticks); a startup CPU store self-test and the
verify/probe package that pinned the Vampire 68080 lost-store defect for the Apollo team. - 68k AmigaOS sizes the main thread's NLX, saved-pending and compiler-pool reservations for 8 MB machines; the compiler's bytecode and constants buffers grow on demand.
Release layout
- Six Workbench launcher icons, one pair per binary —
CLAmiga/Clamacs,CLAmiga-FPU/Clamacs-FPU,CLAmiga-MOS/Clamacs-MOS— with no platform detection in the scripts; the root is a 3 × 3 grid (clamiga, Clamacs, guides as the columns; soft-float, FPU, MorphOS as the rows) in the drawer icon's window. scripts/make-binary-release.sh --snapshot [--with-mos]builds development snapshots; the Amiga test suite runs in 12 minutes with per-check log flushes and timings.
Fixes
DEFVARevaluates its initial value only when the variable is unbound, andDEFVAR/DEFPARAMETER/DEFCONSTANTstore out of tail position (FASL v38);&optionalsupplied-p vs&rest, and a supplied-p variable visible to later defaults (v40); the exit and inlining analysis expandsMACROLETmacros (flexi-streamsFILL-BUFFER);FLETbindings are protected across the inliner'sRETURN-FROMscan.- A string or vector literal keeps its identity through
COMPILE-FILE+LOAD(v36); a FASL checks the structure layouts it was compiled against (v35,--no-fasl-cache);DEFSTRUCT's hidden slot setter no longer takes over a user function named%SET-<accessor>(v37); nestedLOADs are bounded by a clear error and an abandonedLOADgives its streams back. - Runtime
UNDEFINED-FUNCTION/UNBOUND-VARIABLEareCELL-ERRORs that name the cell;EXT:BACKTRACEafter a handled error in an earlier top-level form keeps its innermost frames;~Fand~$right-justify their field;(* bignum fixnum)is single-pass. - AmigaDOS pathnames read a leading or empty
/component as the parent (//x);FOREIGN-TO-STRINGreads to the NUL rather than a hidden 4096 bytes;ffi:close-libraryon the host isdlclose; a BOOPSI dispatcher lists its methods and the rest go to the superclass natively;rexxsyslibstays open under a send still waiting for its reply; a MUI 3.8 String edit hook runs oninput.device's task (mui:make-string-key-hook);AMIGA:WAIT-SIGNALS. - Windows: the
:WINDOWSfeature, UIOP reads native namestrings with their drive letter and splits directory lists at;.
Compatibility notes
- The FASL format is v40; the cache re-keys to
cl-amiga-0.11-fasl40, so caches from 0.10 rebuild transparently. Heap images are v5 and, as always, per-build. bin/aos3/clamacsandbin/mos/clamacs(the C editor of 0.10) are gone; the editor isbin/*/clamacs.img+lib/clamacs/.Clamacs-FPUandClamacs-MOSare new icons;CLAmiga-FPUno longer starts the MorphOS binary on MorphOS — useCLAmiga-MOS.
Downloads
clamiga-0.11.0-bin.lha / .zip contain bin/aos3 (68020+, soft-float), bin/aos3-fpu (hard-float, needs an FPU), bin/mos (MorphOS PPC, built natively), each with its clamiga.img and clamacs.img, the runtime library (lib/, FASLs plus sources), the documentation as Markdown and AmigaGuide (README-FIRST.guide first), the examples and the Workbench icons. Unpack anywhere; no assigns needed.
Amiga suite in FS-UAE: 5274/5274 restored-boot (soft-float and FPU; fresh boot 5283/5284, the FS-UAE-only audio-short-sample flake); test-extra 18/18 scripts, 13290/0.
v0.10
CL-Amiga 0.10
Highlights
Clamacs, the editor/IDE, ships in the release
- Clamacs — an Emacs-flavoured Common Lisp editor and IDE for AmigaOS 3 and MorphOS, a native MUI application (
TextEditor.mccsubclass with Emacs keys, minibuffer, kill ring, Lisp indentation and sexp navigation) that drives a running clamiga over its ARexx port: load, compile and evaluate from the buffer with clickable diagnostics, arglists and completion, jump to definition, describe and apropos, a REPL window (C-c C-z), a debugger window with restarts, backtrace, locals and eval-in-frame, and an inspector (C-c I). It lands asbin/aos3/clamacs(one binary for every 68020+) andbin/mos/clamacsnext to the runtime. Needs MUI 3.8+ andTextEditor.mcc15.29+ (MorphOS ships it). - The runtime grew the
EXT.DEVcommand layer behind the ARexx development port that the editor speaks (lib/dev-commands.lisp,lib/dev-repl.lisp, shipped as FASLs): a REPL on a thread of its own,REPL-ATTACH ... DEBUGparking an erring form on its stack for interactiveBACKTRACE/FRAME/FRAME-EVAL/RESTART, theINSPECT/PART/POPinspector over the newEXT:INSPECT-PARTS, and the introspection commands — which needed the runtime to keep docstrings at last, a realAPROPOS, andDESCRIBEwith lambda list, documentation and source location. - README-FIRST.guide in the package root explains what is where and, above all, the two
S:.clamigarclines that open clamiga's ARexx port so the editor finds (or starts) a clamiga.
Performance: Tier-4, all three phases
- The runtime taxes removed (+37.6 % on the sento actor benchmark), the call and unwind protocol rebuilt (
OP_CALL_GLOBALwith the callee resolved after the arguments,HANDLER-CASEas a special form with one NLX frame per entry, a per-thread multiple-value save stack forUNWIND-PROTECT, non-escapingFLET/LABELSbodies inlined, a JIT template for handler-case), and fourteen fused superinstructions chosen from an adjacent-pair profile of the sento message path, with the peephole pass at every speed above 0 (FASL v33). - MP locks and condition variables are heap words now — no lock table, no cap, per-thread parking — which lifted the sento matrix a further +50..360 % over the 0.8 binary (
docs/sento-bench-results-0.10.md). trunk/bench-general.lisp: a portable workload suite that runs the same file on clamiga, ECL and SBCL.
Documentation on the Amiga itself
- Every page ships as AmigaGuide with a Workbench icon:
README-FIRST.guide,cl-amiga.guide(the manual) andclamacs.guidein the package root next to the launcher icons, the package reference underdocs/. Every heading is a node and the links between the pages work across the drawers (verified with MultiView on AmigaOS 3.2.3 and MorphOS 3.20). The converter,tools/docs/md2guide.lisp, is strict enough to be a drift gate inmake test.
Release layout
- Three Workbench launcher icons in the package root —
CLAmiga,CLAmiga-FPU,Clamacs— start the matching binary frombin/on a double-click (bin/mos/on MorphOS, picked by the launcher script). The root opens in two rows, launchers then guides, showing only files with icons. - A bare-boot heap image beside every binary,
make installlays the same out on a host, and--snapshotbuilds AmigaOS-only development packages.
Fixes
- A
THROWout of a cleanup in the m68k JIT no longer resurrects the abandoned error (the editor'sC-c C-cof an undefined function took the ARexx port down). - Conditions made without a
:format-controlreport from their slots per CLHS 9.2 ("The value 5 is not of type LIST" instead of#<CONDITION TYPE-ERROR>); runtime messages are ASCII-only for the byte-string m68k console. - A three-element
LETbinding is an error rather than silently compiled; FASL source names are portable; the user init file isS:.clamigarcas documented. - The ARexx port comes down at process exit (no zombie
CLAMIGAtask); a local function whose body hasLOAD-TIME-VALUEkeeps its closure. - Bignum division, bit operations and
ASHtake their scratch from the heap above the stack buffers; fill-pointer strings work as a string-stream source and as anEQUALhash key.
Compatibility notes
- The FASL format is v33 (superinstructions and return-shape rewrites); the cache re-keys to
cl-amiga-0.10-fasl33, so caches from 0.9 rebuild transparently. README-BINARY.txtis gone; its content isREADME-FIRST.md/README-FIRST.guidein the package root.
Downloads
clamiga-0.10.0-bin.lha / .zip contain bin/aos3 (68020+, soft-float), bin/aos3-fpu (hard-float, needs an FPU), bin/mos (MorphOS PPC, built natively), each with its clamiga.img and — for aos3 and mos — clamacs, plus lib/, docs/, examples/, the guides with their icons, and the package drawer's icon beside the drawer. Start with README-FIRST.guide.
v0.9
CL-Amiga 0.9
Highlights
Sound
AMIGA.AHI((require "amiga/ahi")) — opt-in playback through AHI, the retargetable audio system (an Aminet install on AmigaOS 3.x, built into MorphOS). The device interface —OPEN-AHIon a prefs unit,PLAY-SAMPLEfor 8/16-bit mono/stereo at any rate from any memory,QUEUE-SAMPLEfor gapless double buffering,STOP-SAMPLE,PLAYING-P— and the hook-free low-level mixer API (ALLOC-AUDIO,LOAD-SOUND,START-PLAYBACK,PLAY,SET-VOLUME,SET-FREQUENCY,SET-SOUND) with the audio mode database. Over a generatedahi.devicetable (167 constants, 11 structs). Verified 80/80 on real MorphOS; example inexamples/amiga/audio/ahi-play.lisp.AMIGA.AUDIOis audible on real AmigaOS 3 now.audio.deviceignoresADIOF_PERVOL, soPLAY-SAMPLEwrites the Paula period and volume registers itself and channels are held at max precedence so nothing steals them mid-poke. Still the default sound module; nothing loads or probes AHI unless asked.AMIGA.EXECgains the exec device-I/O calls every device module needs:CREATE-MSG-PORT,CREATE-IO-REQUEST,OPEN-DEVICE,SEND-IO,CHECK-IO,WAIT-IO,ABORT-IO,DO-IO.
Memory handed back on AmigaOS
- Every launch used to cost the machine 3,743,160 bytes of Fast RAM until reboot — AmigaOS does not reclaim what a process leaves behind. Dead bytecode buffers, the compiler pool, duplicated FASL source paths, the registry side tables, open DOS files and the ARexx port are all released now; what remains is about 1,300 bytes of the shell's own bookkeeping.
CLAMIGA_MEM_DIAG=1reports what each shutdown stage hands back (and the whole-processAvailMemdelta on AmigaOS);make test-memleakruns an allocation tracer that names the exact call site of anything still outstanding.
The release boots from a heap image
bin/*/clamiga.imgsits beside each binary: the booted runtime (boot + CLOS) restored in one read instead of loadingboot.fasl+clos.faslform by form — on a 68040 under FS-UAE 740 ms → 40 ms, and a 68020 no longer spends ~38 s booting from FASLs.--no-imagestill boots from the FASLs.- A restored session re-derives
*default-pathname-defaults*and*random-state*instead of inheriting the saver's.
Tooling
- Aminet:
scripts/aminet-upload.shstagesclamiga.lha+clamiga.readmefrom the tag message, checks them against Aminet's readme rules and uploads by anonymous FTP (macOS/Linux). examples/amiga/gfx/screenshot.lispsaves any screen as a PPM — RTG screens through cybergraphics / P96ReadPixelArray, chipset screens straight from their bitplanes.- The AmigaOS binaries are linked stripped and built without frame pointers: 845/834 KB → 797/787 KB.
Fixes
- FFI register arguments take
TandNIL(BOOLparameters no longer need a1/0), a negative bignum keeps its sign, and a rejected value names the argument, the register and the value. - Errors report their own line. An error signalled by a builtin, an FFI stub or a library call was attributed to the previous call's source line in backtraces; the frame's instruction pointer is now saved before every call.
DESTRUCTURING-BINDrejects an unknown keyword in a&keysection (CLHS 3.4.4), naming the keys it accepts, in both the compiler andMACROEXPAND.- The REPL prints no continuation prompt for a pasted multi-line form (#14) — the transcript matches what a typed form shows.
- The cl+ssl facade gains
ENSURE-INITIALIZEDandSSL-CHECK-VERIFY-P, so websocket-driver's client — and CLOG on top of it — load with TLS. - MorphOS:
make -f Makefile.mos imageworks on the box;audio-second-channelis a SKIP under itsaudio.deviceemulation.
Compatibility notes
- The FASL format is unchanged (v31); the cache re-keys to
cl-amiga-0.9-fasl31, so caches from 0.8 rebuild transparently. AMIGA.AUDIO'sOPEN-AUDIOallocates m68k channels at max precedence and honours a caller's precedence hint only off m68k.
Downloads
clamiga-0.9.0-bin.lha / .zip contain bin/aos3 (68020+, soft-float), bin/aos3-fpu (hard-float, needs an FPU), bin/mos (MorphOS PPC, built natively), each with its clamiga.img, plus lib/, docs/ and examples/. See README-BINARY.txt inside for which binary to pick.
v0.8
CL-Amiga 0.8
Highlights
MUI from Lisp
AMIGA.MUI((require "amiga/mui")) — build MUI GUIs from Lisp:NEW-OBJECTby class name with nested objects as tag values,MAKE-OBJECT,NOTIFY,APPLICATION-INPUT,REQUEST.- Lisp functions as callbacks on the target —
FFI:MAKE-CALLBACK(m68k stub + MorphOS): MUI custom classes whose dispatcher is a Lisp function, layout hooks, list hooks. - Raw muimaster layer generated from
libraries/mui.h: 26 functions and 891 constants, merged across MUI 3.8, MUI 5 and MorphOS. AMIGA.BOOPSI— the toolkit-neutral half (memory pools, tag lists,DO-METHOD,GET-ATTR/SET-ATTRS), split out ofAMIGA.REACTIONand shared by both toolkits. Works on a bare OS 3.1 with no toolkit installed.- Eight ported MUI SDK examples in
examples/amiga/mui/, verified on AmigaOS 3.9 (MUI 3.8) and MorphOS (MUI 4).
Raw OS bindings for the whole system
lib/amiga/raw/**— 1:1 bindings generated from the NDK 3.2 and MorphOS SDKs.(require "amiga/raw/intuition"), and the same for every other library; ReAction classes undergadgets/,images/,classes/.AMIGA.REACTIONhelpers, with ports of the NDK's ReAction examples.- They cost almost nothing now: FFI stub descriptors and demand-interned binding tables cut the common raw modules from 1.42 MB to 0.18 MB of heap, and
lib/amigaships precompiled so an Amiga never compiles ~1 MB of generated source.
Heap images
EXT:SAVE-IMAGEsnapshots a whole session — packages, functions, CLOS, your data — and--image(or an auto-discoveredclamiga.img) restores it without booting.:SHAKE-BINDINGSdrops the binding tables from a delivered image.
Native Windows build
make hostin an MSYS2 mingw shell produces a real.exe— threads, sockets, TLS, FFI, generational GC, debugger, REPL. Plus awindows-11-armCI job.
REPL, debugger and inspector
- The REPL echoes every value a form returns;
(values)prints nothing at all. - Ctrl-D at the
Debug>andInspect>prompts returns to the caller instead of ending the session. - CLHS-conforming string escapes, printing and multi-line input at the prompt.
New in the library
MAKE-ECHO-STREAMwith its component accessors — the last composite stream kind.MP:COMPARE-AND-SWAP/CAS/ATOMIC-INCF/ATOMIC-DECF; backs bordeaux-threads v2's atomic API.EXT:*EXIT-HOOKS*— user cleanup on every normal exit path.AMIGA.ASYNCIO— double-buffered file I/O straight over DOS packets (NDK AsynchIO port).AMIGA.IFF— IFF reading over iffparse (sift.cport).make install/make uninstall; an installed clamiga finds<prefix>/lib/clamiga/on its own, from any directory.- New gfx examples: NDK V39 screen double-buffering and RKM hardware sprites.
Fixes
- CLOS class redefinition updates the existing metaobject in place (CLHS 4.3.6) — methods specialized on a redefined class keep applying to subclasses defined afterwards.
LOOP'sINTOaccumulators hold their list in order at every step, not only in the epilogue.REQUIREaccepts symbol and keyword module names on case-sensitive file systems, and never reloads an already-provided module.NTHaccepts any non-negative integer and signals on a negative one (CLHS 14.2).- Multiple-values hygiene in the compiler:
(let ((x (floor 7 2))) x)returns one value, not two. - A multithreaded performance regression, bisected and fixed: the Ctrl-C poll counter is per-thread again, and
vm.obuilds without LTO. - The banner names the host it actually runs on — macOS, Linux or Windows — instead of greeting every host build as AmigaOS.
Compatibility notes
- FASL version 29 → 31 — stale FASL caches are rejected and rebuild transparently (the cache re-keys to
cl-amiga-0.8-fasl31). AMIGA.REACTION's toolkit-neutral symbols now live inAMIGA.BOOPSIand are re-exported from it:amiga.reaction:do-methodisamiga.boopsi:do-method, so existing code and examples are unaffected.
Downloads
clamiga-0.8.0-bin.lha / .zip contain bin/aos3 (68020+, soft-float), bin/aos3-fpu (hard-float, needs an FPU), bin/mos (MorphOS PPC, built natively), plus lib/, docs/ and examples/. See README-BINARY.txt inside for which binary to pick.
v0.7
CL-Amiga 0.7
Highlights
Native TLS — HTTPS everywhere
EXT:SOCKET-START-TLSupgrades a connected TCP socket stream to TLS in place: OpenSSL 1.1.1/3.x on the host (loaded via dlopen, no build dependency), AmiSSL v5 on AmigaOS/MorphOS.
Companions:TLS-AVAILABLE-P,TLS-VERSION,SOCKET-TLS-P,TLS-PEER-CERTIFICATE.- A bundled cl+ssl facade (in
lib/shims, auto-registered on ASDF's central registry — no installation step) gives drakma and hunchentoot HTTPS out of the box.CLAMIGA_NO_SHIMS=1(host)
/SetEnv CLAMIGA_NO_SHIMS 1(Amiga) opts out. - The AmiSSL SDK headers are vendored in-repo — a plain checkout cross-compiles with TLS, no setup script.
- Verified end-to-end on real hardware: drakma HTTPS via AmiSSL on a Vampire V4 (68k) and natively on MorphOS.
ARexx development port
(require "amiga/arexx")+(amiga.arexx:start)opens a public CLAMIGA ARexx port: drive a running clamiga from any ARexx-capable Amiga editor —LOAD,COMPILE-FILE,EVAL,
IN-PACKAGE,LASTRESULT,PING,VERSION. A failing load answers with every diagnostic in the file (with line numbers), and the return-code ladder (0/5/10/20) is FAILAT-friendly. The
on-Amiga counterpart to the SLY setup — no Emacs, no TCP, no host machine.- Lisp can also send ARexx commands to any application's port.
Unicode / wide strings
- The MorphOS build now ships full Unicode (
CHAR-CODE-LIMIT> 65533) with an adaptive representation — 8-bit strings stay 8-bit, UTF-32 only for strings that actually contain characters above
- Unblocks flexi-streams/drakma, which hard-require it.
- New
WIDE=1cross-build knob for a wide-string 68k AmigaOS variant (composes withFPU=1). Released 68k binaries stay narrow to keep the 68020/8MB baseline lean. - Condition reports survive non-ASCII text —
(error "…ü…")now prints the message instead of failing.
Floats: exact, FPU-independent printing and reading
- Float↔text conversion no longer goes through libc's
%g/strtod: shortest round-trip digits (Steele-White/Burger-Dybvig) and correctly rounded parsing, in core, with integer arithmetic only.
Every printed float reads back bit-identically — on softfloat, real 68881/68882, and FPGA FPUs (Vampire/Apollo) alike. - New hard-float
FPU=1build variant (68881/68882): per-task/thread FPCR setup, excess-precision-safeFLOOR/CEILING/ROUND/TRUNCATE. Binary releases shipbin/aos3(soft-float, any
68020+) plusbin/aos3-fpu.
Debugger & backtraces
:bt N/:bt all— full backtraces on demand. The hard 20-frame window and the invisible 2KB formatting buffer are gone; expressions typed at theDebug>prompt evaluate on top of the
error-time frames instead of destroying them.- Backtraces now show real names where they used to show
<anonymous>: FLET/LABELS locals and CLOS method bodies carry their names, and a nested lambda no longer steals its enclosing function's
name.
Loader & threading correctness
LOAD/COMPILE-FILEbind*PACKAGE*/*READTABLE*as true dynamic bindings (CLHS 23.2.7/24.2.2) — an error thrown out of a load no longer leaves the caller in a switched package. (This single
fix eliminated 156 cascading failures in one real-hardware suite run.)LOAD's per-form error recovery now survives an enclosingUNWIND-PROTECT, and aTHROWout of a cleanup running an error unwind correctly abandons the original transfer (CLHS 5.2).*PACKAGE*is per-thread at the C level — one thread binding it (e.g. Sly's control thread) no longer poisons readers/compiles running in other threads.MP:MAKE-THREADtakes:stack-size,:vm-stack-size,:vm-frames,:nlx-frames(enlarge-only); Amiga worker threads inherit the launching console — or can open their ownCON:window and
run a REPL in it.
Amiga API additions
AMIGA.INTUITION:QUERY-OVERSCAN/DISPLAY-MODE-HEIGHT— ask the display database how tall a mode really is (PAL 256 vs NTSC 200 vs RTG), so programs can open correctly sized screens. Also
fixes the underlying register order — the call had never once succeeded.MSG-RAW-KEY— the qualifier-blind raw keycode behind aVANILLAKEYmessage, immune to wedged-modifier keymap lies.
Fixes
FORMAT ~Fwithout adparameter now prints true free-format fixed-point per CLHS 22.3.3.1: the decimal point is always present (87.0, not87) and large/small magnitudes expand instead of
switching to exponent notation (150000000.0,0.00001).COMPILE-FILEno longer writes stray output to stderr — the buffered bytes froze detached MorphOS processes at exit.- Source-compiling
boot.lisp/clos.lispat boot (stale-FASL fallback) now produces the same CLOS as the shipped FASLs — 47 internal helper names were missing from the pre-intern list, silently
dropping dispatch self-heal, accessor ICs, and defstruct MOP registration. - MorphOS build fixes: ARexx SDK type differences; the stray-stderr exit freeze above.
Compatibility notes
- FASL version 25 → 29 — stale FASL caches are rejected and rebuild transparently (the cache re-keys to
cl-amiga-0.7-fasl29). - The cl+ssl/swank shims moved from
contrib/shims(quicklisp symlink scheme) tolib/shims(auto-registered);make install-shimsnow just removes the old symlinks.
v0.6
CL-Amiga 0.6
MorphOS (PPC) port
- CL-Amiga now runs natively on MorphOS: PPC library-call dispatcher, correct
:morphos/:ppcfeatures, platform-specific banner /software-type/
machine-type, and a native build viaMakefile.mos. - FFI, GUI, and audio are enabled on MorphOS; PPC stack handling hardened
(1 MB main stack with headroom bounds check, 256 K worker-thread stacks) with
a clean boot-failure diagnosis instead of a silent abort.
Binary releases
- New packaging script produces a downloadable binary release for AmigaOS 3+
(68020+) and MorphOS in one layout (bin/aos3+bin/mos+lib/), as
.zipand.lha— runs from any directory, no assigns needed. - API reference docs now include call signatures.
Amiga library modules
AMIGA.AUDIO— audio.device channel allocation and non-blocking sample
playback.AMIGA.EXEC— exec.library module; graphics gains BitMap accessors, planar
image upload, and pointer-sprite support.
Quicklisp
- Quicklisp installs and dist downloads now run with socket timeouts armed
(30 s connect, 60 s read/write). A dead or stalled connection signals a
catchableext:socket-timeoutinstead of hanging the image — this fixes an
intermittent install hang observed on MorphOS. FILE-POSITIONaccepts the:start/:endposition designators.FIND-SYMBOLon a nonexistent package returns(values nil nil)(lenient,
matches what the Quicklisp client expects).
Debugging & diagnostics
- Ctrl-C break-in: interrupt a running program and land in the debugger with a
backtrace;continueresumes in place. If the program is blocked on socket
I/O, Ctrl-C reports the exact operation it is waiting on. - New opt-in runtime diagnostics via environment variables — no rebuild
needed, zero cost when unset:CLAMIGA_GC_DIAG(one line per collection),
CLAMIGA_SOCK_DIAG(socket reactor trace),CLAMIGA_IO_DIAG(file-op
trace), plus a stop-the-world straggler diagnostic. - Fixed the debugger's numeric restart selection.
Fixes
- Sequence/type: byte element-types in result-type specs (e.g.
CONCATENATE
/COERCEto(vector (unsigned-byte 8))) now build packed byte vectors. - GC stress/debug builds no longer false-positive-abort on packed byte
vectors (GC_DBG_MAX_TYPEdrift); UTF-8 codec declarations fixed for
non-wide-string builds.
v0.5
What changed in 0.5
-
Packed byte vectors — the headline. (unsigned-byte 8) / (signed-byte 8) arrays now store 1 byte per element instead of 4-byte tagged values, and (unsigned-byte 16) / (signed-byte 16) store 2 bytes.
-
FASL format v25 carries them (16-bit payloads serialized big-endian so files stay portable between host and m68k). Landed in three slices, plus today's fix so CONCATENATE/COERCE result-type specs
actually build the packed kind. -
Bulk byte I/O and codecs — read-sequence/write-sequence, replace, map-into and count got byte-vector fast paths; new unpack-byterun1 (ILBM decompression) and ext:copy-rows for strided row copies.
-
FFI gained bulk poke-bytes/peek-bytes, replacing per-byte loops.
-
Amiga graphics from Lisp — custom screens (open-screen/with-screen, best-mode-id, set-rgb4), offscreen bitmaps, blits, ROM fonts, and untitled/borderless windows.
-
Amiga stack exhaustion fixed properly — the reader and compiler had oversized recursive frames; they're now shrunk and both call recursion guards, so blowing the stack produces a clean catchable "C stack nearly exhausted" error instead of silent memory corruption.
-
FS-UAE FASL cache fix — caches were perpetually stale (the .uaem datestamp quirk); also anchors the internal-time epoch at launch.
-
Conformance and correctness fixes — READ-SUPPRESS honored per CLHS 2.4.8.17; ~A/~S and bignum ~D render unbounded instead of truncating at fixed buffer sizes; :start/:end on the string
-
case-conversion family; a GC bug building condition slots via a cyclic alist; a stream-table mutex leak when thread count drops mid-critical-section.
-
MorphOS — new processes now enter as PPC rather than 68k; missing peephole.c added to its Makefile.
v0.4
toolchain-macos-arm64-6.5.0b-251015
moved copying binary to amiga target.