|
From: | indieterminacy |
Subject: | Re: Regarding the vertical alignment in the record definitions |
Date: | Thu, 05 Dec 2024 08:41:27 +0000 |
Hello, On 2024-12-05 07:13, Maxim Cournoyer wrote:
Hi Tomas, ... I agree it's a bit tedious, both manually and also in diffs. My personal preference is to leave just one space between the field name and the value, that also holds for variable bounds in lets, etc., to avoid the problem (at the cost of some visual clarity, I guess). One day maybe we'll have a general tool like 'scheme-fmt' to run on a file save hook that'd fix the format question for good, like Python haswith 'black' or 'ruff', etc. I have on mind to work on such a tool, butit's low in the list.
FWIW, Im slowly cobbling together some parsing-expression-grammars for Guix package definitions. Im doing it in the Lisp TXR atm but Im going to create a hybrid approach with Prolog to make it more general.
In addition to outputting a unified formatting, Im planning on altering descriptions so that that that content is outputted in the format Texinfo.
Please dont expect anything soon but should anybody start any other initiative then I may possibly some useful assets or details by then.
Kind regards, Jonathan
[Prev in Thread] | Current Thread | [Next in Thread] |