all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Ryan Prior <rprior@protonmail.com>
Cc: 41415-done@debbugs.gnu.org
Subject: bug#41415: [PATCH 1/1] gnu: Add v.
Date: Wed, 24 Jun 2020 00:04:10 +0200	[thread overview]
Message-ID: <87d05pxwv9.fsf@gnu.org> (raw)
In-Reply-To: <20200520032346.498-1-rprior@protonmail.com> (Ryan Prior's message of "Wed, 20 May 2020 03:23:56 +0000")

Hi Ryna,

Ryan Prior <rprior@protonmail.com> skribis:

> * gnu/packages/vlang.scm: New file.
> * gnu/packages/vlang.scm (v): New variable.
> * gnu/local.mk: Add vlang.scm.

Finally applied, thank you.

> +   (native-inputs
> +    `(("vc"
> +       ,(let ((vc-version "0884d7092f4c2a4f8ca16da6f1792efa235247be"))
> +          ;; v bootstraps from generated c source code from a dedicated
> +          ;; repository. It's readable, as generated source goes, and not at all
> +          ;; obfuscated, and it's about 15kb. The original source written in
> +          ;; golang is lost to the forces of entropy; modifying the generated c
> +          ;; source by hand has been a commonly used technique for iterating on
> +          ;; the codebase.
> +          (origin
> +            (method git-fetch)
> +            (uri (git-reference
> +                  (url "https://github.com/vlang/vc.git")
> +                  (commit vc-version)))

Thanks for taking the time to write this explanation.  The file ‘v.c’ is
1.2MB though, and it’s definitely not the preferred form for edition.

What’s the 15KB above referring to?  I’d welcome a patch to adjust the
comment, unless I’m missing something.  :-)

It would be great if you could bring up this issue with upstream,
perhaps mentioning <https://bootstrappable.org/>.

Thanks, and sorry for the long delay!

Ludo’.




      reply	other threads:[~2020-06-23 22:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-20  3:18 [bug#41415] [PATCH 0/1] Add v compiler Ryan Prior via Guix-patches via
2020-05-20  3:23 ` [bug#41415] [PATCH 1/1] gnu: Add v Ryan Prior via Guix-patches via
2020-06-23 22:04   ` Ludovic Courtès [this message]

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

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

  git send-email \
    --in-reply-to=87d05pxwv9.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=41415-done@debbugs.gnu.org \
    --cc=rprior@protonmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.