unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Timothy Sample <samplet@ngyro.com>
Cc: 54111@debbugs.gnu.org
Subject: bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries
Date: Wed, 16 Mar 2022 11:47:56 +0100	[thread overview]
Message-ID: <87ee32fa1v.fsf@gnu.org> (raw)
In-Reply-To: <877d8w5r0d.fsf@ngyro.com> (Timothy Sample's message of "Mon, 14 Mar 2022 12:27:14 -0600")

Hi Tim,

Timothy Sample <samplet@ngyro.com> skribis:

> Well, I don’t consider myself an Awk person, but I had to implement it
> for Gash-Utils, so I know it well enough!  This may not be the most
> idiomatic Awk program, but to my eyes it is no less readable than the
> Perl version.

You rock!

[...]

> It runs with “gawk --posix”.  If I run “gawk --lint”, I get warnings,
> but I’m pretty sure they are spurious (they may even be Gawk bugs, but I
> would have to double check the relevant specs and docs).  If the lint
> warnings are a problem, you can append the empty string to the argument
> of the ‘hex’ function to make them go away.  Also, (as a bonus) as of
> commit 62c56f9 the Gash-Utils version of Awk can run this script!  :)

Incredible.  :-)

> Of course, to use this script as part of the Guile build, someone™ will
> have to double check that we can legally redistribute the Unicode data
> file (probably okay, but always good to check), and update the build
> rules to generate the C file.  I can’t guarantee that I’ll get to it....

I’ll check with Andy if he’s fine with this option.  Would you like to
turn it into a patch against Guile?  If not, I could do that.

> # unidata_to_charset.awk --- Compute SRFI-14 charsets from UnicodeData.txt
> #
> # Copyright (C) 2009, 2010, 2022 Free Software Foundation, Inc.

Is this correct?  (Maybe yes because it’s a translation of the original
Perl script, right?)

Thanks a lot!

Ludo’.




  reply	other threads:[~2022-03-16 11:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-22 16:42 bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries Maxime Devos
2022-02-27 13:52 ` Ludovic Courtès
2022-02-27 19:45   ` Maxime Devos
2022-02-27 19:52     ` Maxime Devos
2022-02-27 23:07       ` Bengt Richter
2022-02-28 11:45     ` Ludovic Courtès
2022-02-28 17:46       ` Maxime Devos
2022-03-14 18:27         ` Timothy Sample
2022-03-16 10:47           ` Ludovic Courtès [this message]
2022-03-16 23:42             ` Timothy Sample
2022-03-19 18:20               ` Timothy Sample
2022-03-24 13:33                 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ee32fa1v.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=54111@debbugs.gnu.org \
    --cc=samplet@ngyro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).