bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-03-24 Thread Ludovic Courtès
Hello, Timothy Sample skribis: > I’ve attached two patches, the second of which is gzipped (the > UnicodeData.txt file is nearly 2M). > > The first patch replaces the Perl script with the Awk script. The Awk > script produces an identical ‘srfi-14.i.c’, except for changing “.pl” to > “.awk” in

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-03-16 Thread Timothy Sample
Hi Ludo, Ludovic Courtès writes: > Timothy Sample skribis: > >> 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

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-03-16 Thread Ludovic Courtès
Hi Tim, Timothy Sample 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

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-03-14 Thread Timothy Sample
Hi Maxime, Maxime Devos writes: > Ludovic Courtès schreef op ma 28-02-2022 om 12:45 [+0100]: > >> It might be easier to rewrite in Awk in build srfi-14.i.c >> unconditionally no? > > I don't know any Awk and it seems to be quite different from languages > I know, so for me doing that isn't

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-28 Thread Maxime Devos
Ludovic Courtès schreef op ma 28-02-2022 om 12:45 [+0100]: > It might be easier to rewrite in Awk in build srfi-14.i.c > unconditionally no? I don't know any Awk and it seems to be quite different from languages I know, so for me doing that isn't easier. But for someone who knows some Awk, sure!

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-28 Thread Ludovic Courtès
Hi, Maxime Devos skribis: > Ludovic Courtès schreef op zo 27-02-2022 om 14:52 [+0100]: [...] >> We could rewrite ‘unidata_to_charset.pl’ in Scheme, but then Guile would >> still need to provide a pre-compiled version of srfi-14.i.c for >> bootstrapping purposes.  Or we could rewrite it in

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-27 Thread Bengt Richter
Hi guix, On +2022-02-27 20:52:38 +0100, Maxime Devos wrote: > Maxime Devos schreef op zo 27-02-2022 om 20:45 [+0100]: > >   * Add 'perl' (or 'perl-boot0' because that perl is probably good > >     enough?) to the native-inputs of guile. > > > > Actually, the second is already done in

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-27 Thread Maxime Devos
Maxime Devos schreef op zo 27-02-2022 om 20:45 [+0100]: >   * Add 'perl' (or 'perl-boot0' because that perl is probably good >     enough?) to the native-inputs of guile. > > Actually, the second is already done in 'guile-final'. Maybe this being done in 'guile-final' and 'guile-3.0-latest' is

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-27 Thread Maxime Devos
Ludovic Courtès schreef op zo 27-02-2022 om 14:52 [+0100]: > It would add a dependency on Perl, which is not great (I’m not sure > whether it complicates bootstrapping since Perl is already present early > on, but it’s safer to avoid it.) > > We could rewrite ‘unidata_to_charset.pl’ in Scheme,

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-27 Thread Ludovic Courtès
Hi, Maxime Devos skribis: > Looking at > , > I noticed that Guile bundles a binary variant of UnicodeData.txt in > srfi-14.i.c. Seems like it should be compiled with > the 'unidate_to_charset.pl'

bug#54111: guile bundles (a compiled version of) UnicodeData.txt and binaries

2022-02-22 Thread Maxime Devos
Hi guix, Looking at , I noticed that Guile bundles a binary variant of UnicodeData.txt in srfi-14.i.c. Seems like it should be compiled with the 'unidate_to_charset.pl' script instead (assuming that