v is a systems programming language that's evolving rapidly right now. Thispatch contains a bootstrap package for the v compiler. Ryan Prior (1): gnu: Add v. gnu/local.mk | 1 + gnu/packages/vlang.scm | 116 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 gnu/packages/vlang.scm -- 2.26.2
(name . Ryan Prior)(address . firstname.lastname@example.org)(address . email@example.com)
Hi Ryna, Ryan Prior <firstname.lastname@example.org> skribis:
Toggle quote (4 lines)> * gnu/packages/vlang.scm: New file.> * gnu/packages/vlang.scm (v): New variable.> * gnu/local.mk: Add vlang.scm.
Finally applied, thank you.
Toggle quote (15 lines)> + (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’ is1.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 thecomment, 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’.