From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Maxim Cournoyer Newsgroups: gmane.lisp.guile.devel Subject: [PATCH 0/2] Add 'snarfi' guild script to convert SRFI HTML specifications to Texinfo Date: Sun, 3 Dec 2023 11:37:49 -0500 Message-ID: <20231203170504.7818-1-maxim.cournoyer@gmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Maxim Cournoyer To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Sun Dec 03 18:06:00 2023 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r9puq-0007VX-I7 for guile-devel@m.gmane-mx.org; Sun, 03 Dec 2023 18:06:00 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r9puK-00040M-Rg; Sun, 03 Dec 2023 12:05:28 -0500 Original-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 1r9pu9-0003zj-QH for guile-devel@gnu.org; Sun, 03 Dec 2023 12:05:19 -0500 Original-Received: from mail-qk1-x732.google.com ([2607:f8b0:4864:20::732]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r9pu7-0008S0-Dm for guile-devel@gnu.org; Sun, 03 Dec 2023 12:05:16 -0500 Original-Received: by mail-qk1-x732.google.com with SMTP id af79cd13be357-77dd07e7d39so277443185a.0 for ; Sun, 03 Dec 2023 09:05:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701623113; x=1702227913; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=9DvNoMza9HrnBVuvF2Ly96zwgqfMBfZCWsWnNy/6OMY=; b=OetFAuLtXBaW0ululsLPBZf5A8c5TrOYxhUcLpLVTyzY3+lsJEYr7fU0US/tJZcjZS ZaiQNBzTUlJr6ja5uNeaODDTuEE1ksgqniOrCcVFZLKuGHj/gA7TKXoF3XxPIUzd177s INgwpwxDowEO9xj45ixjB7ssK2HlYe8Tuetq54J0IWwMQfpKf66KMASXeI43tUhunJvL YxwV8c8P/KE7BaNhSXNt4g5h3/K17xfF/lt3hciOJIos+06vBXuYhmu7SSAemSfUdQmw GX05hYQ15cge/wJVNzpySv0J2gj8m5Djp7IzSYEzOdcO69r9KzSn69htxmfwcZkiNxe8 Ukyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701623113; x=1702227913; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9DvNoMza9HrnBVuvF2Ly96zwgqfMBfZCWsWnNy/6OMY=; b=U/yvDS6GMZ7OBaOENo0B98DjnwfnImEe8Ccd3cffqN1obtSgbMiyjyeThNMuTSP5CL Yx6TuHWE626hBPt50c0Cq+waUtn8K0uSM+CeDOCUefGcB7MvMaVwFUnvshMOD+se1QdV etYpcCPq3StZZzopOdRp1Qi41MSc3hCjZ/LD3XbvkCTopOXN9K7BvEPb8yv+crwjouEC IyTuc6/gqOF8+sEhQ7xa2KbgAqPwmoXzGVK0ijwWT0Vq3YnqCfoxf2jg+pECsnN22tXY c2pSrlNDnNYqH6fUedrCJwBTeVaZwSynZNpbQjPtz8gzWjoj2jZjmKrJJ92BXKJ37m/5 sTxA== X-Gm-Message-State: AOJu0YyXCqI9IuChXSvDfJ8NfOrULwG/zEtWEDExI6S7IKFnV09W+vgF siZGsNy83dO1JHZdKFK3nz5RFGL/oyk= X-Google-Smtp-Source: AGHT+IH04va/L5kJsRLC348QscyndO13FSpWg33tHKsbqZgwoCL5QzKk76U6vUYy20CwUelmw0f1Pg== X-Received: by 2002:a05:620a:468a:b0:77b:b34e:6262 with SMTP id bq10-20020a05620a468a00b0077bb34e6262mr4119026qkb.46.1701623113593; Sun, 03 Dec 2023 09:05:13 -0800 (PST) Original-Received: from localhost.localdomain (dsl-141-198.b2b2c.ca. [66.158.141.198]) by smtp.gmail.com with ESMTPSA id az12-20020a05620a170c00b0076ce061f44dsm3503513qkb.25.2023.12.03.09.05.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Dec 2023 09:05:12 -0800 (PST) X-Mailer: git-send-email 2.41.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::732; envelope-from=maxim.cournoyer@gmail.com; helo=mail-qk1-x732.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.lisp.guile.devel:22180 Archived-At: Due to challenges in the unspecified HTML format used by the various SRFI authors, the result is not perfect, but it's still a great help when adapting the specification HTML into Texinfo. It requires guile-lib for its htmlprag HTML parser, which is autoloaded to avoid introducing a hard dependency on it. Maxim Cournoyer (2): .dir-locals: Add indentation rule for sxml-match syntax. scripts: Add SRFI documentation HTML -> Texinfo snarfer. .dir-locals.el | 3 +- NEWS | 11 + am/bootstrap.am | 1 + module/scripts/snarfi.scm | 637 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 651 insertions(+), 1 deletion(-) create mode 100644 module/scripts/snarfi.scm base-commit: d8df317bafcdd9fcfebb636433c4871f2fab28b2 -- 2.41.0