From patchwork Wed Nov 23 03:26:59 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Paul A. Patience" X-Patchwork-Id: 44775 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 60C7E27BBEE; Wed, 23 Nov 2022 03:28:31 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id C8D6827BBE9 for ; Wed, 23 Nov 2022 03:28:30 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxgQi-0001CF-Vt; Tue, 22 Nov 2022 22:28:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxgQg-0001Bq-Qr for guix-patches@gnu.org; Tue, 22 Nov 2022 22:28:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxgQc-0002uZ-LI for guix-patches@gnu.org; Tue, 22 Nov 2022 22:28:06 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxgQc-0008EC-Gn for guix-patches@gnu.org; Tue, 22 Nov 2022 22:28:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59500] [PATCH 1/3] gnu: Add cl-40ants-doc. References: <20221123032456.106598-1-paul@apatience.com> In-Reply-To: <20221123032456.106598-1-paul@apatience.com> Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 03:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59500 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59500@debbugs.gnu.org Cc: "Paul A. Patience" Received: via spool by 59500-submit@debbugs.gnu.org id=B59500.166917403131534 (code B ref 59500); Wed, 23 Nov 2022 03:28:02 +0000 Received: (at 59500) by debbugs.gnu.org; 23 Nov 2022 03:27:11 +0000 Received: from localhost ([127.0.0.1]:53052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxgPm-0008CY-Hf for submit@debbugs.gnu.org; Tue, 22 Nov 2022 22:27:10 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]:34077) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxgPk-0008CI-7n for 59500@debbugs.gnu.org; Tue, 22 Nov 2022 22:27:09 -0500 Date: Wed, 23 Nov 2022 03:26:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1669174022; x=1669433222; bh=+vlx1DMA5HVPPGZzrV/OCe2FhDuUduQKiPjG6vmKCm0=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=M9abRKnI9Hp7jsVmWtuq0RgC1opD7vqfQNVOVmlr0e8go7cnJS7TZWhL0N2wWg0TA Spm7Cxjjh9AKypWcDyD5Dqzf5dHM83pEbzf1PM4+Ke6jP8dDgkquFgtaPgYI0hG8Sp +wFocOUzvQYRBzwJxJiTujtwdmzMJGM2xsKHD17X4DoGWftMpAoGPeyDP568MvUhT7 20eYdHKXji5dtYHLajT/g3HGCYi0KTDzoMYk17ZqADFSAORSQgJKJrVS71kT46V7ww 0IonpN1MhbLPvKDUuwqKZ+MQacwtJQve2MKF/DvGFURqQiNOih01M/mYtFJ+8BYEUV 2PgEYlSUy36eg== From: "Paul A. Patience" Message-ID: <20221123032653.106845-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/lisp-xyz.scm (sbcl-40ants-doc, cl-40ants-doc, ecl-40ants-doc): New variables. --- gnu/packages/lisp-xyz.scm | 83 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) -- 2.38.0 diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index ae05f78534..9f0c473d4f 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -2947,6 +2947,89 @@ (define-public cl-mgl-pax (define-public ecl-mgl-pax (sbcl-package->ecl-package sbcl-mgl-pax)) +(define-public sbcl-40ants-doc + (let ((commit "7725ff67a380e9ebfc6155e14d91e650f256711b") + (revision "0")) + (package + (name "sbcl-40ants-doc") + (version (git-version "0.1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/40ants/doc") + (commit commit))) + (sha256 + (base32 "1v6gnhrk02vsixmprzk4wvvj7vh11vp5waxyih0qz2ih8d38r5pg")) + (file-name (git-file-name "cl-40ants-doc" version)))) + (build-system asdf-build-system/sbcl) + (arguments + ;; TODO: Add remaining dependencies of 40ants-doc-full and + ;; 40ants-doc-test missing from Guix. + '(#:asd-systems '("40ants-doc" + ;;"40ants-doc-full" + ) + #:tests? #f)) + ;;(native-inputs + ;; (list sbcl-rove)) + (inputs + (list sbcl-named-readtables + sbcl-pythonic-string-reader + ;; For 40ants-doc-full: + ;;sbcl-3bmd + ;;sbcl-alexandria + ;;sbcl-babel + ;;sbcl-cl-cookie + ;;sbcl-cl-fad + ;;sbcl-cl-ppcre + ;;sbcl-common-doc ; Missing from Guix + ;;sbcl-common-html ; Missing from Guix + ;;sbcl-commondoc-markdown ; Missing from Guix + ;;sbcl-dexador + ;;sbcl-docs-builder ; Missing from Guix + ;;sbcl-fare-utils + ;;sbcl-jonathan + ;;sbcl-lass + ;;sbcl-local-time + ;;sbcl-log4cl + ;;sbcl-slime-swank + ;;sbcl-slynk + ;;sbcl-spinneret + ;;sbcl-stem ; Missing from Guix; also, license is unconfirmed + ;;sbcl-str + ;;sbcl-tmpdir ; Missing from Guix + ;;sbcl-trivial-extract ; Missing from Guix + ;;sbcl-xml-emitter + )) + (home-page "https://40ants.com/doc/") + (synopsis "Exploratory programming environment and documentation generator") + (description + "@code{40ants-doc} provides a rudimentary explorable programming +environment. The narrative primarily lives in so-called sections that mix +Markdown docstrings with references to functions, variables, etc., all of +which should probably have their own docstrings. + +The primary focus is on making code easily explorable by using SLIME's +@kbd{M-.} (@code{slime-edit-definition}). Generating documentation in +Markdown or HTML format from sections and all the referenced items is also +implemented. + +With the simplistic tools provided, one may obtain results similar to literate +programming, but documentation is generated from code, not the other way +around, and there is no support for chunking. Code comes first, code must +look pretty, documentation is code. + +@code{40ants-doc} is a fork of MGL-PAX with fewer dependencies (only +@code{named-readtables} and @code{pythonic-string-reader}) for the core +system, and additional features in the full system.") + (license license:expat)))) + +(define-public cl-40ants-doc + (sbcl-package->cl-source-package sbcl-40ants-doc)) + +(define-public ecl-40ants-doc + (sbcl-package->ecl-package sbcl-40ants-doc)) + (define-public sbcl-mssql (let ((commit "045602a19a32254108f2b75871049293f49731eb") (revision "1"))