all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#69022] [PATCH 1/5] gnu: bqn: Add singeli.
@ 2024-02-10 23:01 aecepoglu
  2024-05-03 21:22 ` Dale Mellor
  2024-05-03 21:31 ` [bug#69022] This issue has been superceded, closing Dale Mellor
  0 siblings, 2 replies; 3+ messages in thread
From: aecepoglu @ 2024-02-10 23:01 UTC (permalink / raw)
  To: 69022; +Cc: aecepoglu

Newer versions of BQN use Singeli

* gnu/packages/bqn.scm: Add singeli

Change-Id: I5a2ce84a2b96cdad0617af46978f44ef1a86047f
---
 gnu/packages/bqn.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm
index 4d03385d21..acac2d45cc 100644
--- a/gnu/packages/bqn.scm
+++ b/gnu/packages/bqn.scm
@@ -34,6 +34,32 @@ (define-module (gnu packages bqn)
   #:use-module (gnu packages java)
   #:use-module (gnu packages compression))
 
+(define-public singeli
+  (let ((commit "5f9cbd46c265491ff167a5d9377d1462539dbdd8")
+        (revision "1"))
+    (package
+      (name "singeli")
+      (version (git-version "0.1.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/mlochbaum/Singeli.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "13mfxkb29n4phpqxiwfcd43mcg8773n03nml8d9rhbdb6s5jrixb"))))
+      (build-system copy-build-system)
+      (arguments
+       '(#:install-plan '(("." "lib"))))
+      (synopsis "Language to generate performant C codes with")
+      (description
+       "Singeli is a domain-specific language for building high-performance
+algorithms with abstractions over code that corresponds to individual instructions.
+It's implemented in BQN, with a frontend that emits IR and a backend that converts it to C.")
+      (home-page "https://github.com/mlochbaum/Singeli")
+      (license license:isc))))
+
 (define-public dbqn
   (let ((commit "88f2b43966a75cc2c382421218eb30003bb16f4a")
         (revision "1"))

base-commit: b64862e5cb8209c92aa2eff4cec0be328e38c45d
-- 
2.43.0





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#69022] [PATCH 1/5] gnu: bqn: Add singeli.
  2024-02-10 23:01 [bug#69022] [PATCH 1/5] gnu: bqn: Add singeli aecepoglu
@ 2024-05-03 21:22 ` Dale Mellor
  2024-05-03 21:31 ` [bug#69022] This issue has been superceded, closing Dale Mellor
  1 sibling, 0 replies; 3+ messages in thread
From: Dale Mellor @ 2024-05-03 21:22 UTC (permalink / raw)
  To: aecepoglu, 69022

On Sat, 2024-02-10 at 23:01 +0000, aecepoglu wrote:

> Subject: [PATCH 1/5] gnu: bqn: Add singeli.

  If there is only one part to this patch, the "1/5" bit should not be there. 
If there are other parts you need to send them to 69022@debbugs.gnu.org.

> Newer versions of BQN use Singeli
> 
> * gnu/packages/bqn.scm: Add singeli

    Phrase this as: * gnu/packages/bqn.scm: new variable singeli

> 
> Change-Id: I5a2ce84a2b96cdad0617af46978f44ef1a86047f
> ---
>  gnu/packages/bqn.scm | 26 ++++++++++++++++++++++++++
>  1 file changed, 26 insertions(+)
> 
> diff --git a/gnu/packages/bqn.scm b/gnu/packages/bqn.scm
> index 4d03385d21..acac2d45cc 100644
> --- a/gnu/packages/bqn.scm
> +++ b/gnu/packages/bqn.scm
> @@ -34,6 +34,32 @@ (define-module (gnu packages bqn)
>    #:use-module (gnu packages java)
>    #:use-module (gnu packages compression))
>  
> +(define-public singeli
> +  (let ((commit "5f9cbd46c265491ff167a5d9377d1462539dbdd8")

   A few more commits have been made since this one and the date of this patch,
and a couple more have been made since then.  Probably it would be good if you
brought this patch up to date.

   If you have any influence over this, it would be better if upstream made a
versioned release, tagged the repository with the release number, and you use
the tag as the commit to pull.  That would give us a bit more confidence that
this GIT snapshot is appropriate, especially since the project is in a very
early stage of development.

> +        (revision "1"))
> +    (package
> +      (name "singeli")
> +      (version (git-version "0.1.1" revision commit))

   Where does this version number come from?  If it is in the upstream (I
couldn't find it on cursory inspection of the repository), it would be good if
the repository could be tagged with this.

> +      (source
> +       (origin
> +         (method git-fetch)
> +         (uri (git-reference
> +               (url "https://github.com/mlochbaum/Singeli.git")
> +               (commit commit)))
> +         (file-name (git-file-name name version))
> +         (sha256
> +          (base32 "13mfxkb29n4phpqxiwfcd43mcg8773n03nml8d9rhbdb6s5jrixb"))))
> +      (build-system copy-build-system)
> +      (arguments
> +       '(#:install-plan '(("." "lib"))))
> +      (synopsis "Language to generate performant C codes with")

   This is an incomplete sentence.  I might suggest "Compiler for a domain-
specific language called Singeli."

> +      (description
> +       "Singeli is a domain-specific language for building high-performance
> +algorithms with abstractions over code that corresponds to individual
> instructions.
> +It's implemented in BQN, with a frontend that emits IR and a backend that
> converts it to C.")
> +      (home-page "https://github.com/mlochbaum/Singeli")
> +      (license license:isc))))
> +
>  (define-public dbqn
>    (let ((commit "88f2b43966a75cc2c382421218eb30003bb16f4a")
>          (revision "1"))
> 
> base-commit: b64862e5cb8209c92aa2eff4cec0be328e38c45d

Best wishes,
Dale





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#69022] This issue has been superceded, closing.
  2024-02-10 23:01 [bug#69022] [PATCH 1/5] gnu: bqn: Add singeli aecepoglu
  2024-05-03 21:22 ` Dale Mellor
@ 2024-05-03 21:31 ` Dale Mellor
  1 sibling, 0 replies; 3+ messages in thread
From: Dale Mellor @ 2024-05-03 21:31 UTC (permalink / raw)
  To: 69022

Superceded by 69023.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-05-03 21:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-10 23:01 [bug#69022] [PATCH 1/5] gnu: bqn: Add singeli aecepoglu
2024-05-03 21:22 ` Dale Mellor
2024-05-03 21:31 ` [bug#69022] This issue has been superceded, closing Dale Mellor

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.