guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26926: [PATCH] gnu: update Mes to 0.6.


From: Ludovic Courtès
Subject: bug#26926: [PATCH] gnu: update Mes to 0.6.
Date: Wed, 17 May 2017 09:32:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Heya,

Jan Nieuwenhuizen <address@hidden> skribis:

> What I call Mescc is a Scheme program that can be executed (interpreted)
> by Mes, but it can also be run by Guile.  Like so:
>
>     guix package -i nyacc mes
>     guile -c '(use-modules (language c99 compiler)) (with-input-from-string 
> "int main () {return printf (\"Hi Mescc\n\");}" c99-input->elf)' > a.out
>     chmod +x a.out
>     ./a.out
>
>        => Hi Mescc
>
> Does this make it more explicit?

Yes, thanks!  It looks very exciting.

>>> +         ,@(if (or (equal? (%current-system) "x86_64-linux")
>>> +                   (equal? (%current-target-system) "x86_64-linux"))
>>
>> Note that %current-system is a “system type” like “x86_64-linux”
>> whereas %current-target-system is a GNU triplet like
>> “x86_64-linux-pc-gnu”.  Thus, the second line should be
>>
>>   (string-prefix? (%current-target-system) "x86_64-linux")
>
> Ah...ok.  As an aside: would we want to to change one of these names?

You mean like renaming ‘%current-target-system’ to
‘%current-target-triplet’ for example?  Why not, it would probably help
avoid this confusion.

>> Please read ‘HACKING’ for the details.  Before pushing, can you reply to
>> this message and sign your reply with the OpenPGP key that you’ll use
>> to sign commits?  Also please upload your OpenPGP key to Savannah.
>
> Okay, great!

Awesome, that was long overdue.

Thank you!

Ludo’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]