🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #405

CTAN update: expltools

#405
From: CTAN Announcements
Date: Wed, 25 Nov 2026 07:17
112 lines
6334 bytes
Vít Starý Novotný submitted an update to the

                 expltools

package.

Version: 2026-11-23
License: lppl1.3c gpl2+

Summary description: Development tools for expl3 programmers

Announcement text:
--------------------------------------------------------------------------------

## expltools 2026-11-23

### explcheck v0.25.0

#### New features

This version of explcheck has implemented the following new features:

- Add more support for flow analysis. (#215, #236, #239)

   This adds support for the following issues from the document titled
   [_Warnings and errors for the expl3 analysis tool_][warnings-and-errors]:

   1. E508 (Unexpandable or restricted-expandable boolean expression)
   2. W512 (Defined an unexpandable function as unprotected)

  [warnings-and-errors]: https://github.com/witiko/expltools/releases/download/latest/warnings-and-errors.pdf

#### Fixes

This version of explcheck has fixed the following problems:

- Report issues E420 (Locally setting a global variable) and E421 (Globally
   setting a local variable) in top-level code. (reported by @jasperhabicht and
   @cfr42 in #232, fixed in #235)

   Previously, these issues were not reported in top-level code, since the
   semantics of local and global assignments are equivalent there. However,
   since l3debug explicitly rejects inconsistent local/global assignments in
   top-level code, explcheck should do the same.

- Consider standalone boolean variables and constants such as `\c_true_bool`
   expandable within boolean expressions. (#236)

   Previously, these caused enclosing segments and functions to be considered
   unexpandable for issues E428 (Unexpandable or restricted-expandable boolean
   expression) and W429 (Defined an unexpandable function as unprotected). While
   correct for top-level material, this was incorrect for boolean expressions.
   Expandability is now estimated separately for different expansion contexts,
   and the issues use the appropriate estimates.

#### Architecture

This version of explcheck has made the following architectural changes:

- Add the module `explcheck-expandability.lua` for tracking expandability
   estimates. (#236)

- Add `outputs` to processing steps, remove `cleanup()` substeps. (#237..#239)

   Previously, transient results for passing data around processing substeps
   within a step were removed within `cleanup()` substeps. After this change,
   steps declare persistent results within `outputs` and all other transient
   results are automatically removed in the method `process_files()` from
   `explcheck-utils.lua`. This prevents unintended memory leaks between steps.

#### Documentation

This version of explcheck has made the following improvements to the 
documentation:

- Make documentation PDF/UA-2-compliant. (#233, #234)

   This makes the documentation use `\DocumentMetadata` to produce
   PDF/UA-2-compilant output. For gray issues from the document titled
   [_Warnings and errors for the expl3 analysis tool_][warnings-and-errors], we
   add an explicit textual description "Not yet implemented" next to the section
   headings.

#### Continuous integration

This version of explcheck has made the following changes to our continuous
integration (CI):

- Check the PDF/UA-2 compliance of the documentation with VeraPDF. (#233, #234)
- Skip steps in non-scheduled CI runs unless relevant code has changed. (#234,
   67c70c9)
- Only check third-party submodules in scheduled CI runs. (#235)

--------------------------------------------------------------------------------

This package is located at
    https://mirrors.ctan.org/support/expltools

More information is at
    https://ctan.org/pkg/expltools


--------------------------------------------------------------------------------

    Thanks for the upload.

      For the CTAN Team
     Erik Braun


CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs .
Technical Details
Message-ID: <c7a0897c-d8d0-7f8d-fc43-5b6bf6d788a0@ctan.org>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From: CTAN Announcements <erik@ctan.org>
Newsgroups: comp.text.tex
Subject: CTAN update: expltools
Date: Wed, 25 Nov 2026 08:17:28 +0100 (CET)
Organization: CTAN
Lines: 112
Message-ID: <c7a0897c-d8d0-7f8d-fc43-5b6bf6d788a0@ctan.org>
Reply-To: ctan@ctan.org
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-15
Content-Transfer-Encoding: 8BIT
Injection-Info: solani.org;
	logging-data="491966"; mail-complaints-to="abuse@news.solani.org"
To: ctan-ann@ctan.org
Cancel-Lock: sha1:anmxkK4PrXzWsPLIdRM2HUuM6JU=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703;
	t=1795591054; bh=9WLKeAg0wFR2gvMrKQdX/V6LbbNngtKhP6ZbqYT4pJk=;
	h=Date:From:Reply-To:To:Subject:From;
	b=hkaFdFbxqQxsflkrr7R+phTNSWcp2PgZLZ8YBa96SqBhllDGE1vvxK21QO4BS2LEf
	 LBEd9zwUd2nOz7mn7YteDxH68W8dSGInDTS8Gr2UbGUEOfRGAu5DwO9THoqj2p+vwi
	 jazwpXl1sXnR63+vwkFgadpJ4R9u3mWqqOAyV92I=
X-User-ID: eJwNwgkRADEIBDBL5VtADoXiX8JdJiYgtCsMamt73QY+u8Wnk3JOvmBZ5bol8ed+7JMoIQr5ACX4EQQ=
X-Mailman-Rule-Hits: member-moderation
X-Rspamd-Queue-Id: F2B13803C7
X-Message-ID-Hash: YF7QZTQKHWYDH37XF3CYGJXLBZQUNY7L
X-Rspamd-Server: irony
Message-ID-Hash: YF7QZTQKHWYDH37XF3CYGJXLBZQUNY7L
X-Mailman-Version: 3.3.8
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address
Precedence: list
X-Spamd-Result: default: False [-2.60 / 16.00];
	BAYES_HAM(-3.00)[100.00%];
	CTE_CASE(0.50)[];
	MIME_GOOD(-0.10)[text/plain];
	ASN(0.00)[asn:680,ipnet:2001:638::/32,country:DE];
	ARC_NA(0.00)[];
	RCVD_COUNT_ZERO(0.00)[0];
	FROM_HAS_DN(0.00)[];
	HAS_ORG_HEADER(0.00)[];
	RCPT_COUNT_ONE(0.00)[1];
	MIME_TRACE(0.00)[0:+];
	TO_DOM_EQ_FROM_DOM(0.00)[];
	MID_RHS_MATCH_FROM(0.00)[];
	REPLYTO_DOM_EQ_TO_DOM(0.00)[];
	LOCAL_OUTBOUND(0.00)[];
	FROM_EQ_ENVFROM(0.00)[];
	MISSING_XM_UA(0.00)[];
	REPLYTO_DOM_EQ_FROM_DOM(0.00)[];
	TO_DN_NONE(0.00)[];
	TO_MATCH_ENVRCPT_ALL(0.00)[];
	HAS_REPLYTO(0.00)[ctan@ctan.org]
X-Rspamd-Action: no action
X-MailFrom: erik@ctan.org