From nobody Sat Jan 18 09:14:08 2025 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZrWh2vz4z5l5QH for ; Sat, 18 Jan 2025 09:14:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZrWh2CP8z3CGH; Sat, 18 Jan 2025 09:14:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737191648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KssHr8FboaiMk1KXPbr3W7TQL4gI7bqS7p3PyYmRk3o=; b=xdet87muiwAjCfysCgIFh7iTBFqTIQLlbFW7v1mw5bqkHA1wDP9ETz2yGBNCkqsAe3cF5n lcVyzJDcoE3AgjpYT0/LQdO/r4UwCLsaoQpkiqfqt8YH/k2aROWddEnmqsQq602f7saMsb zhywkc/1WQRbSF3f98Vt5WvAFp4r3q00kiivAuRUUZWW/hrF3F4xt7x/VSIZzTsYG9nXHC J84ovBDiSLvjGZfrpK/4kKYW7Hc/qQXRNwltMN5C+hik1JSaSLD6fIp5NswbkT1A3KIrUb j1VE6pNnH/J0Tp5pVprQ0S18KozhH2pJ9HPOBCdwE4YYSvwirn3zatonyUDLjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737191648; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=KssHr8FboaiMk1KXPbr3W7TQL4gI7bqS7p3PyYmRk3o=; b=xB9igK64EdD543Fpa1+qCzfx6+XozCHxgwczv+bn+DUVSsZMkYKe0JeV2O+PSKf1fnkBHh 7sw1n7hLx2/GvIe3QbxN9kHX4AGLifL6jm0Zc5wN4hd6/cEF2OPyb/7bPfcLU5ajoada8l AlYx+TRR7jiHouTR1iE5cQmkXbEC+t9gYBN3HIftamSSI+3smLf6SeoEjlqbf9NmSSZnvd QdBk/oZDEiAXbiXtsYLj2zUKgdUzsDEJtZUIuX4q8cuLud717jKI9pwQqjaiZP0cKTU8O8 oT3TYw9wyKXVCrapq0vJy0yXO6yZuv9w+1MegMn1uvpVYvuAp5Bc0D7BWMJ+cQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737191648; a=rsa-sha256; cv=none; b=bomFsnCiSR1/j37z9C/oXwig8LtZUiJX3FMhwc5VWf9/2zOVgmsOaYWoQHdQJF6TbCfA6o D46w1Fz/qBN/gFIAnXg6Ez5lC6u+POn4PA12HasNFnBXuzh/yrDOBfZleORcTyUNleLnIR vRUjT7h6MLB73XYMArj3JIsCHaykEt1BvlEi1NEi7nyBejwnEGjnSGRQ7sF4mELdB/YeKY dK4jU8MpzZ3vjAZM7CGAgXhcVC1+YJ5pd9mXUU+MYWKJgI638OLj8axHvqYNdhEBdtdT7B e10Xlv8DC+gYpRPb2zZOH4GWqedTWgsK5CgqobCPZkkZO+2FdVwXpcR4k6W2sQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YZrWh1VHzzxdL; Sat, 18 Jan 2025 09:14:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 50I9E8eC024416; Sat, 18 Jan 2025 09:14:08 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 50I9E8Ok024413; Sat, 18 Jan 2025 09:14:08 GMT (envelope-from git) Date: Sat, 18 Jan 2025 09:14:08 GMT Message-Id: <202501180914.50I9E8Ok024413@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Sergio Carlavilla Delgado Subject: git: 87532deaa6 - main - Website - Status: Add Common Lisp report List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: carlavilla X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 87532deaa63af131748601bc0a753c0f4799d2d6 Auto-Submitted: auto-generated The branch main has been updated by carlavilla: URL: https://cgit.FreeBSD.org/doc/commit/?id=87532deaa63af131748601bc0a753c0f4799d2d6 commit 87532deaa63af131748601bc0a753c0f4799d2d6 Author: Joseph Mingrone AuthorDate: 2025-01-18 09:13:36 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2025-01-18 09:13:36 +0000 Website - Status: Add Common Lisp report Reviewed by: Pau Amma , Chris Moerz Differential Revision: https://reviews.freebsd.org/D48407 --- .../status/report-2024-10-2024-12/common-lisp.adoc | 50 ++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/website/content/en/status/report-2024-10-2024-12/common-lisp.adoc b/website/content/en/status/report-2024-10-2024-12/common-lisp.adoc new file mode 100644 index 0000000000..b4564258dc --- /dev/null +++ b/website/content/en/status/report-2024-10-2024-12/common-lisp.adoc @@ -0,0 +1,50 @@ +=== Improving Common Lisp Infrastructure in FreeBSD Ports + +Contact: Joe Mingrone + +link:https://lisp-lang.org/[Common Lisp] (CL) is a general-purpose, multi-paradigm programming language first conceived in the early 1980s. +Although it predates many modern programming languages, it remains a viable option for many different projects. +One contemporary example is Grammarly, a widely used grammar engine reportedly implemented in CL and capable of processing over a thousand sentences per second. + +The FreeBSD ports tree has provided CL support for many years. +The initial work was contributed by Henrik Motakef in 2003, and then enhanced and maintained by Jimmy Olgeni. +The infrastructure facilitated building and installing CL libraries using link:https://asdf.common-lisp.dev/[ASDF] so that multiple CL implementations could load compiled object code files (fasl) at run-time without conflicts. + +However, many issues crept in over the years. +Support dwindled to only one CL implementation, link:https://www.sbcl.org/[SBCL], and users encountered longstanding bugs such as conflicting ASDF versions and write errors when loading libraries outside the ports tree. +Also, managing dependencies was cumbersome because most infrastructure code was included as part of the package:devel/cl-asdf[] port. + +A long overdue update of the FreeBSD CL infrastructure was completed this quarter. +The primary outcome is that users can, once again, easily and reliably work with CL on FreeBSD. +For example, installing and loading the popular Alexandria library under SBCL requires only a few simple steps. + +[source, shell] +---- +% pkg install cl-alexandria-sbcl +% sbcl +* (asdf:load-system :alexandria) +---- + +Similar steps can be used to load libraries for the other two newly supported implementations: link:https://ccl.clozure.com/[CCL], and link:https://clisp.sourceforge.io/[CLISP]. +Most users will likely prefer to work with the fasl ports, although there is no obligation to do so. +Because ASDF is now configured to fall back to its default caching mechanism of writing fasl to a cache under `${HOME}`, users can also install CL source ports without the associated fasl port or load CL sources from outside of the ports tree. + +Other highlights of the update include: + +- decoupling ASDF initialization from package:devel/cl-asdf[] by creating a dedicated port: package:devel/freebsd-cl-asdf-init[] +- creating `USES=cl` +- adding and updating various CL library ports for the three supported implementations +- updating and modernizing package:lang/ccl[] and package:lang/clisp[] + +For details, refer to these commit logs: + +- link:https://cgit.freebsd.org/ports/commit/?id=4c954c1522cbf4d05013caaf40c36458d82f1480[4c954c1522cbf4d05013caaf40c36458d82f1480] +- link:https://cgit.freebsd.org/ports/commit/?id=f6a75a8f9bf20dbf1e9a4d5bc171d58f595c1ec1[f6a75a8f9bf20dbf1e9a4d5bc171d58f595c1ec1] +- link:https://cgit.freebsd.org/ports/commit/?id=1d7c75a5cde6792b3872340edeaf8f278add291a[1d7c75a5cde6792b3872340edeaf8f278add291a] +- link:https://cgit.freebsd.org/ports/commit/?id=148251b431b8d972623bb3adaa5a71355f47ac26[148251b431b8d972623bb3adaa5a71355f47ac26] +- link:https://cgit.freebsd.org/ports/commit/?id=7f68336ed19be61027dfb7b461aacd056733eba4[7f68336ed19be61027dfb7b461aacd056733eba4] + +The tentative plan is to add support for link:https://ecl.common-lisp.dev/[ECL] after an ASDF output translation issue is solved and to create ports for other CL libraries. +Feedback, testing, and contributions are welcome. + +Sponsor: The FreeBSD Foundation