GNU logs - #62891, boring messages


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#62891] [PATCH] gnu: Add quirrel
Resent-From: Andy Tai <atai@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Mon, 17 Apr 2023 00:11:02 +0000
Resent-Message-ID: <handler.62891.B.16816902492136 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 62891
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 62891 <at> debbugs.gnu.org
Cc: Andy Tai <atai@HIDDEN>
X-Debbugs-Original-To: guix-patches@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.16816902492136
          (code B ref -1); Mon, 17 Apr 2023 00:11:02 +0000
Received: (at submit) by debbugs.gnu.org; 17 Apr 2023 00:10:49 +0000
Received: from localhost ([127.0.0.1]:52703 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1poCSG-0000YO-Pf
	for submit <at> debbugs.gnu.org; Sun, 16 Apr 2023 20:10:49 -0400
Received: from lists.gnu.org ([209.51.188.17]:48382)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lichengtai@HIDDEN>) id 1poCSE-0000YG-Mv
 for submit <at> debbugs.gnu.org; Sun, 16 Apr 2023 20:10:47 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lichengtai@HIDDEN>)
 id 1poCSE-0005os-53
 for guix-patches@HIDDEN; Sun, 16 Apr 2023 20:10:46 -0400
Received: from mail-pj1-x1034.google.com ([2607:f8b0:4864:20::1034])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lichengtai@HIDDEN>)
 id 1poCSB-0008A5-C1
 for guix-patches@HIDDEN; Sun, 16 Apr 2023 20:10:45 -0400
Received: by mail-pj1-x1034.google.com with SMTP id f2so15268219pjs.3
 for <guix-patches@HIDDEN>; Sun, 16 Apr 2023 17:10:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1681690241; x=1684282241;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=pJxSEIoN7TpgjHRNY8hTPTfrcE/gHhpp50dYLk4i3zk=;
 b=Qh42oxyP7OInzyL5jWx9maOHuxlhBmGMFyF2nshI8PaGRJB6KTUhGiZRwyIEhOMvXM
 HPhqcMbkAtQVL0hM7r7ma69YN6fDBEfprtSoK0S7eetZ0WgT2RsY1/UR+n6BBXUBYDva
 wdSN6SndsS+UjCXYQNnNkFBCgdBPnyVeoQi5csvs8iDcM3Uv4o1PZ81Mo0+yYsZjESXM
 nAEtKf0lbneAbLB6guGCeZBjWlUAp5yPBl5d5U7bXT5AKFLeMHUQISBv3xcD/XfvX/Uw
 pWuIPbGdq0adQJXg7mF20dE8jHvKsO3gw8Z9r4/+mEWOzdnfySRTFjMAtXXR7bxygjxa
 D33A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1681690241; x=1684282241;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=pJxSEIoN7TpgjHRNY8hTPTfrcE/gHhpp50dYLk4i3zk=;
 b=WGmq1+tFxxoNUM5t2RnuspS3utZIXTJfSnfB6CkEnG+68zdrP2gswVL7XtxsC7aMEe
 SYK+8usXssQCZJ0yupFOC6XCt4QF5HSqGg1wzsN/b886fyNlbzb3yj63TR5Ft/k/0f42
 8bK7EYwCR+IuTFQPVkwYIVQ2wvUGSwnicUsAqh8QGGer//u40ZbN5avhUgQFLcA74Ynz
 4Uf8HE1uPbNDcV3gln7CpVHpoAuU0pzor1XK/ICyilSHMPTjoHdpycf4XnYYu0RYBGhE
 tbv0TbCmGe2l4OK6npid9GytvVVfWPwzKWp4nVGvIcoHiEV2NnwLjx1t56kCuW98skUA
 pzNQ==
X-Gm-Message-State: AAQBX9eux56e9o8TOjkevIov2mSCO6/BfjaZpZnfdUTKOvDt8ARY7bcL
 Re7Bkc3NeZrRPYmdYsK7ex1rZvhhkCU=
X-Google-Smtp-Source: AKy350Yyv0sdTGErQu0jenjI7PGatk/56jLUs9JgfozqDzqmJAWSRzYx8KYCkTslSUDxf5FZefuOug==
X-Received: by 2002:a17:903:1d1:b0:1a6:c12d:9027 with SMTP id
 e17-20020a17090301d100b001a6c12d9027mr5306663plh.56.1681690240997; 
 Sun, 16 Apr 2023 17:10:40 -0700 (PDT)
Received: from localhost.localdomain ([98.37.226.98])
 by smtp.googlemail.com with ESMTPSA id
 kg14-20020a17090b340e00b00246cfdb570asm2785059pjb.27.2023.04.16.17.10.40
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 16 Apr 2023 17:10:40 -0700 (PDT)
From: Andy Tai <atai@HIDDEN>
Date: Sun, 16 Apr 2023 17:10:37 -0700
Message-Id: <20230417001037.6464-1-atai@HIDDEN>
X-Mailer: git-send-email 2.39.2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::1034;
 envelope-from=lichengtai@HIDDEN; helo=mail-pj1-x1034.google.com
X-Spam_score_int: -14
X-Spam_score: -1.5
X-Spam_bar: -
X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249,
 FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.1 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.1 (--)

* gnu/packages/squirrel.scm (quirrel): New variable
---
 gnu/packages/squirrel.scm | 64 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 63 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/squirrel.scm b/gnu/packages/squirrel.scm
index 1b9489882f..818f04ebf9 100644
--- a/gnu/packages/squirrel.scm
+++ b/gnu/packages/squirrel.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019 Li-cheng (Andy) Tai <atai@HIDDEN>
+;;; Copyright © 2019, 2023 Li-Cheng (Andy) Tai <atai@HIDDEN>
 ;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +22,7 @@ (define-module (gnu packages squirrel)
   #:use-module (gnu packages sphinx)
   #:use-module (guix build-system cmake)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build utils)
   #:use-module (guix packages)
@@ -81,3 +82,64 @@ (define-public squirrel
 size, memory bandwidth, and real-time requirements of applications like video
 games.")
     (license license:expat)))
+
+
+
+(define-public quirrel
+  (package
+    (name "quirrel")
+    (version "4.6")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/GaijinEntertainment/quirrel.git")
+                    (commit "bef3fc5")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "10pd1l8gbp8kyak9caklp061nnp2lqvnb21wwg7zjd75pp0xf63s"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DDISABLE_STATIC=ON")
+       #:tests? #f ;no tests
+       #:phases (modify-phases %standard-phases
+                  ;; TODO: build and install doc files like squirrel above
+                  (add-after 'install 'install-headers
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (include-dir (string-append out "/include")))
+                        (mkdir-p include-dir)
+                        (for-each (lambda (header-file)
+                                    (copy-recursively header-file
+                                                      (string-append
+                                                       include-dir "/"
+                                                       (basename header-file))))
+                                  (find-files "../include"))) #t)))))
+    (native-inputs `(("cmake" ,cmake-minimal)
+                     ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/GaijinEntertainment/quirrel")
+    (synopsis "Script language that is based on Squirrel language and is
+inspired by Python, Javascript and especially Lua")
+    (description
+     "Quirrel is a script language that is based on Squirrel language and is
+inspired by Python, Javascript and especially Lua, with
+
+    Lexical scoping
+    Higher order functions, closures and lambda
+    Classes and inheritance
+    Tail recursion
+    Delegation
+    String interpolation
+    Exception handling
+    Cooperative threads (coroutines)
+    Generators
+    Performance - Quirrel is fast and small (comparable with Lua and sometimes even faster)
+    Both compiler and virtual machine fit together in about 13k lines of C++ code and add only around 100kb-150kb the executable size.
+    Automatic memory management (CPU bursts free - reference counting and GC)
+    Optional 16bits characters strings
+    Dynamic typing type system is close to Javascript but stricter and simpler (there is integer type and no 'undefined')
+    Powerful embedding api
+    Modules
+    Hot-reload (if you implement it in your code)
+    Open Source MIT License")
+    (license license:expat)))

base-commit: 9a5e1dc1f16f5f8c056e64f2077b035784003673
-- 
2.39.2





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Andy Tai <atai@HIDDEN>
Subject: bug#62891: Acknowledgement ([PATCH] gnu: Add quirrel)
Message-ID: <handler.62891.B.16816902492136.ack <at> debbugs.gnu.org>
References: <20230417001037.6464-1-atai@HIDDEN>
X-Gnu-PR-Message: ack 62891
X-Gnu-PR-Package: guix-patches
X-Gnu-PR-Keywords: patch
Reply-To: 62891 <at> debbugs.gnu.org
Date: Mon, 17 Apr 2023 00:11:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 guix-patches@HIDDEN

If you wish to submit further information on this problem, please
send it to 62891 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
62891: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62891
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#62891] Acknowledgement ([PATCH] gnu: Add quirrel)
Resent-From: Andy Tai <atai@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Thu, 11 May 2023 23:37:01 +0000
Resent-Message-ID: <handler.62891.B62891.168384821615334 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 62891
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 62891 <at> debbugs.gnu.org
Received: via spool by 62891-submit <at> debbugs.gnu.org id=B62891.168384821615334
          (code B ref 62891); Thu, 11 May 2023 23:37:01 +0000
Received: (at 62891) by debbugs.gnu.org; 11 May 2023 23:36:56 +0000
Received: from localhost ([127.0.0.1]:53639 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pxFqB-0003zG-NC
	for submit <at> debbugs.gnu.org; Thu, 11 May 2023 19:36:55 -0400
Received: from mail-qt1-f175.google.com ([209.85.160.175]:50322)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lichengtai@HIDDEN>) id 1pxFq9-0003z4-Cp
 for 62891 <at> debbugs.gnu.org; Thu, 11 May 2023 19:36:53 -0400
Received: by mail-qt1-f175.google.com with SMTP id
 d75a77b69052e-3ef2f81a96cso92084831cf.0
 for <62891 <at> debbugs.gnu.org>; Thu, 11 May 2023 16:36:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=atai-org.20221208.gappssmtp.com; s=20221208; t=1683848208; x=1686440208;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=7zPquDCtZyzOA5PY0kmGl8Aq5WV/QI7GoaYVVezsWQc=;
 b=Hk4Chzwok0VCwqcko1a93ZBR6TUlabmT1GQ91mE0IYAsWoBkErVLxJIS2wkbeYKaAN
 CLEAjfOr0HMhlcgq17+KI6gmbqLM7QJFBEqMKbvMUxZgKuM4crqhqU0/Dbb38T5qJqTv
 MYOi9shxh0bSj7aWNoGL8ArfSGcAcX8zUYA28z6Xg9SAQ9XJ55/i/vIcKrUFOKZiFN8X
 Yvs/OBIabADF9uj+f7GQTwpRjfyCaZMJrfDdx/Mzdll1TP/hKbkU7QlTlC08IMLowXYt
 tIaUlr4jqFOoIqJ8AryZuL4THm5irT4BnCnXFIPLeSpzWpSRqyRHJrnvtCVJzMdaZwVY
 R8iQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1683848208; x=1686440208;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=7zPquDCtZyzOA5PY0kmGl8Aq5WV/QI7GoaYVVezsWQc=;
 b=cHeLXLv4uSxe4GXOt27t4FV5pY4S2OZcawQe2xrZj26ov082a+1HzpYSpnNP9+a08V
 sQUE0aCeWdsU75wctU9F73pvgxBje3cyJbJEHwuvZXk0IODFNpkPIe8M/UUlFKuYA4tO
 ytsBVUvaVNLzDlAHAju4EzS6ZhEORo3/3SjBzyR4f/KluBx4Uaz747pCwmTgSTR+nYl+
 p+t1oQyZdoo2oygOsa+wuw16XwiEYXGrWuOE7c83gPcja0vPCJjbvE4Nti2HINoaNZYm
 NPMf0A4JHSR104Njc0yf+UgtX7Y8hnx0/uGpkVY5PGzR4r1AWk7/N2zRVW0dcv+J7RRf
 AT3w==
X-Gm-Message-State: AC+VfDyqBjM6pwkDU9ZpSvhuxBAMck8aw4qqc/vwrzWNRs8y+6s2F1u4
 J8cTQDTLBjr9DFr84IkVXvzLx4R1hKIUNqMltDCu4e9u
X-Google-Smtp-Source: ACHHUZ6hlHkB48oC4w3tvX/IiWZqcU3rtS9Xo2QwawCnbnzWMo6QH3IaQ6E0rTMJhUI780YHnJ/UHw+26G/YCyYSm6o=
X-Received: by 2002:a05:622a:514:b0:3f2:31e:e783 with SMTP id
 l20-20020a05622a051400b003f2031ee783mr36826790qtx.50.1683848207615; Thu, 11
 May 2023 16:36:47 -0700 (PDT)
MIME-Version: 1.0
References: <20230417001037.6464-1-atai@HIDDEN>
 <handler.62891.B.16816902492136.ack <at> debbugs.gnu.org>
In-Reply-To: <handler.62891.B.16816902492136.ack <at> debbugs.gnu.org>
From: Andy Tai <atai@HIDDEN>
Date: Thu, 11 May 2023 16:36:11 -0700
Message-ID: <CAJsg1E--HUpYGWb74HqXAN+GuRkX5k-SX+kP45veZZkb6U-EeQ@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.2 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.8 (/)

ping




Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#62891] [PATCH v2] gnu: Add quirrel
References: <20230417001037.6464-1-atai@HIDDEN>
In-Reply-To: <20230417001037.6464-1-atai@HIDDEN>
Resent-From: Andy Tai <atai@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Sat, 11 May 2024 17:01:01 +0000
Resent-Message-ID: <handler.62891.B62891.171544685612712 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 62891
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: 62891 <at> debbugs.gnu.org
Cc: Andy Tai <atai@HIDDEN>
Received: via spool by 62891-submit <at> debbugs.gnu.org id=B62891.171544685612712
          (code B ref 62891); Sat, 11 May 2024 17:01:01 +0000
Received: (at 62891) by debbugs.gnu.org; 11 May 2024 17:00:56 +0000
Received: from localhost ([127.0.0.1]:49313 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1s5q5f-0003Ht-TS
	for submit <at> debbugs.gnu.org; Sat, 11 May 2024 13:00:56 -0400
Received: from mail-oa1-f45.google.com ([209.85.160.45]:50189)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lichengtai@HIDDEN>) id 1s5q5d-0002zw-Aw
 for 62891 <at> debbugs.gnu.org; Sat, 11 May 2024 13:00:54 -0400
Received: by mail-oa1-f45.google.com with SMTP id
 586e51a60fabf-23d1c4c14ceso2028720fac.0
 for <62891 <at> debbugs.gnu.org>; Sat, 11 May 2024 10:00:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1715446788; x=1716051588; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:from:to:cc:subject:date:message-id:reply-to;
 bh=6rLSrPepdd4nBb2Xz3fHr9DOBDG1RY5CmVTM2rNDteY=;
 b=VwbjlwLW1NMlE8UmKVHMAbT0ZV0YSZLOkISW3Apn7i4QubAe62t3aZeekVDd5iKjZi
 m54psXbYWp/LUA52Z/ldoyGXMuq8nbz1BdYKgy7W71oyAensRv9rEHY8+O5hEK3D5+68
 2dvlWK5hXH7EHLZFQAm1Oi5phHdDR7eyo1juCCPMfoJtbD5pZp0wcFLdr9ScOXZYmJ2W
 O1nNqV508PSom+/JhVy3UzqSNPCM9moeUFuBla4691qNmza8oAoRVpJCgO9az7iqW2f7
 yjgk1nPernidmh0+dalm+lKOCfv77v6q2ILCqRrq1Z5/SOH1kH9Yxq0/N3HDxLPltsg8
 np9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1715446788; x=1716051588;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:sender:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=6rLSrPepdd4nBb2Xz3fHr9DOBDG1RY5CmVTM2rNDteY=;
 b=hbJOBW0MD9Ximomi/m5PfNU8zpRKbO93V1Q5qWk0OB3W5JN2k4fFnm95VDuYJ9u7DC
 F0wIWjzyDih3dx0w3LfGbgn73bswnaDMWCAI2MkLm+V39b7P8S7/Kbuec+uG77yKDlmT
 zeGyvwX38oHdfge28VFFR7+5JqsFznxgdPXgTDLBolLHZr2H6wQ6s303oKLvR5g51OF8
 3Mi3egpCSd3N3VTaFwX48NEQdZeSwSsbLyNND3iiMNcI6J920pIg50HY+c5FQja9Feux
 cvHB0ReCEBTLqVPfW5GhG8WqAXoARCcINsLLljj1DAKRhRYqjvzLW6oQDrOOIJa4FpNk
 j3jA==
X-Gm-Message-State: AOJu0YwiV1zyi2e9ToTAOpY+27ZiD8JEP8q1608uX0i/G0Op7daEknXt
 +8friADlElVW1wjFubQrBL/q2wjpbGcqelHc6OcLQG3QpghQxBzJrohyWQ==
X-Google-Smtp-Source: AGHT+IHywDYJdwaaGNaPkBbLi4Ry3MwUv9MacV57pmcislCH/tcLdVXjNk1SZVfj20dDsPQ8eE8nQQ==
X-Received: by 2002:a05:6870:d1c6:b0:23c:43d5:6025 with SMTP id
 586e51a60fabf-24172e2ec4cmr6501912fac.46.1715446787683; 
 Sat, 11 May 2024 09:59:47 -0700 (PDT)
Received: from DEskMiniX300.. (c-98-37-226-154.hsd1.ca.comcast.net.
 [98.37.226.154]) by smtp.gmail.com with ESMTPSA id
 d2e1a72fcca58-6f4d2ae0d88sm4667337b3a.122.2024.05.11.09.59.46
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sat, 11 May 2024 09:59:46 -0700 (PDT)
From: Andy Tai <atai@HIDDEN>
Date: Sat, 11 May 2024 09:59:43 -0700
Message-Id: <129aa222dbae82ff4e2fc85f32a56b6405a63b12.1715446743.git.atai@HIDDEN>
X-Mailer: git-send-email 2.34.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.3 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

* gnu/packages/squirrel.scm (quirrel): New variable

Change-Id: I3b25604f7c5cc4f046a6421810e3928d5c5ba276
---
 gnu/packages/squirrel.scm | 64 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 63 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/squirrel.scm b/gnu/packages/squirrel.scm
index 1b9489882f..638f06ab8f 100644
--- a/gnu/packages/squirrel.scm
+++ b/gnu/packages/squirrel.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2019 Li-cheng (Andy) Tai <atai@HIDDEN>
+;;; Copyright © 2019, 2023 Li-Cheng (Andy) Tai <atai@HIDDEN>
 ;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -22,6 +22,7 @@ (define-module (gnu packages squirrel)
   #:use-module (gnu packages sphinx)
   #:use-module (guix build-system cmake)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (guix build utils)
   #:use-module (guix packages)
@@ -81,3 +82,64 @@ (define-public squirrel
 size, memory bandwidth, and real-time requirements of applications like video
 games.")
     (license license:expat)))
+
+
+
+(define-public quirrel
+  (package
+    (name "quirrel")
+    (version "4.6.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/GaijinEntertainment/quirrel.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "18xvhssnh5lddi4ava7wzzvsiin8rh3vrbhcblv7l00qv0brh6gg"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags '("-DDISABLE_STATIC=ON")
+       #:tests? #f ;no tests
+       #:phases (modify-phases %standard-phases
+                  ;; TODO: build and install doc files like squirrel above
+                  (add-after 'install 'install-headers
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((out (assoc-ref outputs "out"))
+                             (include-dir (string-append out "/include")))
+                        (mkdir-p include-dir)
+                        (for-each (lambda (header-file)
+                                    (copy-recursively header-file
+                                                      (string-append
+                                                       include-dir "/"
+                                                       (basename header-file))))
+                                  (find-files "../include"))) #t)))))
+    (native-inputs `(("cmake" ,cmake-minimal)
+                     ("python-sphinx" ,python-sphinx)))
+    (home-page "https://github.com/GaijinEntertainment/quirrel")
+    (synopsis "Script language that is based on Squirrel language and is
+inspired by Python, Javascript and especially Lua")
+    (description
+     "Quirrel is a script language that is based on Squirrel language and is
+inspired by Python, Javascript and especially Lua, with
+@itemize
+@item Lexical scoping
+@item Higher order functions, closures and lambda
+@item Classes and inheritance
+@item Tail recursion
+@item Delegation
+@item String interpolation
+@item Exception handling
+@item Cooperative threads (coroutines)
+@item Generators
+@item Performance - Quirrel is fast and small (comparable with Lua and sometimes even faster)
+@item Both compiler and virtual machine fit together in about 13k lines of C++ code and add only around 100kb-150kb the executable size.
+@item Automatic memory management (CPU bursts free - reference counting and GC)
+@item Optional 16bits characters strings
+@item Dynamic typing type system is close to Javascript but stricter and simpler (there is integer type and no 'undefined')
+@item Powerful embedding api
+@item Modules
+@item Hot-reload (if you implement it in your code)
+@end itemize")
+    (license license:expat)))

base-commit: 703ae431f4ad28658e34675310b4fdf58685ccdd
-- 
2.34.1





Message sent to guix-patches@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: [bug#62891] [PATCH v2] gnu: Add quirrel
Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: guix-patches@HIDDEN
Resent-Date: Tue, 11 Jun 2024 21:32:01 +0000
Resent-Message-ID: <handler.62891.B62891.171814146429700 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 62891
X-GNU-PR-Package: guix-patches
X-GNU-PR-Keywords: patch
To: Andy Tai <atai@HIDDEN>
Cc: 62891 <at> debbugs.gnu.org
Received: via spool by 62891-submit <at> debbugs.gnu.org id=B62891.171814146429700
          (code B ref 62891); Tue, 11 Jun 2024 21:32:01 +0000
Received: (at 62891) by debbugs.gnu.org; 11 Jun 2024 21:31:04 +0000
Received: from localhost ([127.0.0.1]:36934 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sH956-0007iy-GF
	for submit <at> debbugs.gnu.org; Tue, 11 Jun 2024 17:31:04 -0400
Received: from eggs.gnu.org ([209.51.188.92]:55394)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1sH953-0007hv-Sx
 for 62891 <at> debbugs.gnu.org; Tue, 11 Jun 2024 17:31:02 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1sH94y-0003M6-JS; Tue, 11 Jun 2024 17:30:56 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=NLIOykI43e63EJfCL/KD6b4epcBTAJ+p1grfLnMsKzg=; b=S1dc1kRcDI9KhCTnCr/+
 c7ffiHwE9f+DGl17jIvvtBQLVY/6GQwnO7yrxqNfIntjqxk4FVbdHJBaZlkC3RoGk/boCfQnAxAua
 EVVv8/XMsPEFAC67+0YgKmP6gCzV/VMztHpS/MNZYEmYzfPDF19bfT+TErbRxro3hhHxwd+Goy3kw
 /O0B25icY8eqymGzhHJKcUsAfmXBbgO9Wd4+zmQi0ybDpX3HFQWoOWbKYBtcY19UA5q/v+R0lySML
 KUTskMzWn/t+YXHSgS6mPM+KRJa74QgoDgouPtzM57hlV+5a51eyFlETEX/yWy5C7nVAhRyw5pbu1
 i7qUou+Slis4SA==;
From: Ludovic =?UTF-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
In-Reply-To: <129aa222dbae82ff4e2fc85f32a56b6405a63b12.1715446743.git.atai@HIDDEN>
 (Andy Tai's message of "Sat, 11 May 2024 09:59:43 -0700")
References: <20230417001037.6464-1-atai@HIDDEN>
 <129aa222dbae82ff4e2fc85f32a56b6405a63b12.1715446743.git.atai@HIDDEN>
Date: Tue, 11 Jun 2024 23:30:53 +0200
Message-ID: <87plsnkvzm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi Andy,

Andy Tai <atai@HIDDEN> skribis:

> * gnu/packages/squirrel.scm (quirrel): New variable
>
> Change-Id: I3b25604f7c5cc4f046a6421810e3928d5c5ba276

[...]

> +(define-public quirrel
> +  (package
> +    (name "quirrel")

Should it (inherit squirrel) since it looks very similar, to avoid
duplication?

> +    (synopsis "Script language that is based on Squirrel language and is
> +inspired by Python, Javascript and especially Lua")

Please keep it short; =E2=80=9CScripting language based on Squirrel=E2=80=
=9D would work,
for instance (info "(guix) Synopses and Descriptions").

Thanks,
Ludo=E2=80=99.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 11 Jun 2024 21:31:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 11 17:31:08 2024
Received: from localhost ([127.0.0.1]:36938 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sH959-0007jD-Pr
	for submit <at> debbugs.gnu.org; Tue, 11 Jun 2024 17:31:08 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54920)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1sH958-0007i3-7g
 for control <at> debbugs.gnu.org; Tue, 11 Jun 2024 17:31:06 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>) id 1sH954-0003NM-BF
 for control <at> debbugs.gnu.org; Tue, 11 Jun 2024 17:31:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to:
 references; bh=wzSrrmg3x3m8PdbRAPIHv1du01vTwQHPwlONcUdTQ8E=; b=QNgGb4ejKjGjXG
 +/auRM5or00opiX12IPZXTG5W/b1mLMMC+yFRS70FZ3bG3bbvYiPfvzldnvFpCJMqUvJG2Xel01SV
 kky9vs3Psq//9PDL27tlbSLa86+4dwhg22MqRSLaeKNb8i4QFxnLW8qlU3W/DtjgqudExwnvHc4Vu
 qRYiyczW9H3RzlBaRkwxMXlnLaWOOZNYHzA8VSKgTs++r2mYDQllSMHb5fvIxTNEWVokDDAk3uTeR
 zQGLyaB17nxwI9GZQiqWWvtEezizjoFDnmSK+VzGDn8nnTQFJ+FSM9F6mo1JF3H1cVIRKIGDWZ6ZP
 5kgy+tf/sZpsBjPYdp2Q==;
Date: Tue, 11 Jun 2024 23:31:00 +0200
Message-Id: <87o787kvzf.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Subject: control message for bug #62891
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 62891 + moreinfo
quit






Last modified: Tue, 11 Jun 2024 21:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.