From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YCkzKgokxGWY7AAA62LTzQ:P1 (envelope-from ) for ; Thu, 08 Feb 2024 01:44:58 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id YCkzKgokxGWY7AAA62LTzQ (envelope-from ) for ; Thu, 08 Feb 2024 01:44:58 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707353098; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=wcmkyK5cOHRE8t36+6Y60VWJysmt3UUueOuZWuBSvQk=; b=qrFWzTBOgE0HA2HqjSCPDu5QT22Kbm/LOKeJzLpluaIZ7xeT8fnMgD2cnTPAUIoY1c3fF/ KMZ8ESo9bsq4JQoLD9jzuNtxNeljuuTfIN7k5jo+m+ltjgf/Z2g54Ae7IXoX012YZdh9Ao 3BW7b02QwAEXhSIPyboktI+74eaL/3d3hasjNkZQ+IYRGAdWJyotwhPvWP++KzFcrmiGoX uuDx+EZKK57131ZPoe+OJxdv/OoPteUFHMvSiYkq1QAbOWRB9kRAl/STdOjMbUM1AOV4dQ nqFfYiH/rRHG1M+5QhyRgDV0OgE4pOgytnu8f+9fDwVe+agRQdZgPjnwd518Cg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707353098; a=rsa-sha256; cv=none; b=CPUNre6DpeaHos2qBntzOPgbEck5G1raFyWZ9+x+OULfyHeft14qiXSzPupdcvUbBM+i0m ItZGLZhaqgUKDBUO7NgaIdX5QXcrBBzcJN9XfnknqlE+Gc0dL1aHrxr74aSX0/GRIr1AdE MilvPjPakSPQ83wmnL6gYX9Hhrf/1gPRrCVOq+ZgaEIsk5o1e5R8cMIATjvoBINbZF6D1p wJ0y3doImfPH6Tp0xsNh4Gc67eBSzBAbN9flsxNEPR8pfm5rqpSb005O/vk2YVxIPFcuzF fZ52Rn/n8EkWaVg+14L5E6z9cXFkrMgs+iq4RX4wFRw4H5FoUTjwNuBMKvD+xQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 973C5433A8 for ; Thu, 8 Feb 2024 01:44:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rXsWV-0006nw-Et; Wed, 07 Feb 2024 19:44:15 -0500 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 ) id 1rXsWS-0006nN-Q1 for guix-devel@gnu.org; Wed, 07 Feb 2024 19:44:13 -0500 Received: from 9.mo583.mail-out.ovh.net ([178.32.96.204]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rXsWQ-0004Zf-Q9 for guix-devel@gnu.org; Wed, 07 Feb 2024 19:44:12 -0500 Received: from director3.ghost.mail-out.ovh.net (unknown [10.109.140.5]) by mo583.mail-out.ovh.net (Postfix) with ESMTP id D89AB28E8A for ; Thu, 8 Feb 2024 00:44:06 +0000 (UTC) Received: from ghost-submission-6684bf9d7b-f8h8x (unknown [10.110.96.9]) by director3.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 544911FD1F; Thu, 8 Feb 2024 00:44:06 +0000 (UTC) Received: from ngraves.fr ([37.59.142.109]) by ghost-submission-6684bf9d7b-f8h8x with ESMTPSA id q5eKENYjxGUBdQIAR+n2Mg (envelope-from ); Thu, 08 Feb 2024 00:44:06 +0000 X-OVh-ClientIp: 81.67.146.208 To: Jelle Licht , Timothy Sample , guix-devel@gnu.org Subject: Re: Non-bootstrappable NPM packages In-Reply-To: <878ssnk0si.fsf@jlicht.xyz> References: <877e87efc1.fsf@ngyro.com> <878ssnk0si.fsf@jlicht.xyz> Date: Thu, 08 Feb 2024 01:44:05 +0100 Message-ID: <87h6ij4wfe.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Ovh-Tracer-Id: 2582251437652697653 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrtdefgddviecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfqggfjpdevjffgvefmvefgnecuuegrihhlohhuthemucehtddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffujghffffkgggtgfesthhqredttddtjeenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeevtdekteffhfefgfetjeeujedufeejlefgfedtvdektdekieffvdfgjedtueetveenucffohhmrghinhepghhithhhuhgsrdgtohhmpdguvggsihgrnhdrnhgvthenucfkphepuddvjedrtddrtddruddpkedurdeijedrudegiedrvddtkedpfeejrdehledrudegvddruddtleenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepoehnghhrrghvvghssehnghhrrghvvghsrdhfrheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdguvghvvghlsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeefpdhmohguvgepshhmthhpohhuth Received-SPF: pass client-ip=178.32.96.204; envelope-from=ngraves@ngraves.fr; helo=9.mo583.mail-out.ovh.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Nicolas Graves From: Nicolas Graves via "Development of GNU Guix and the GNU System distribution." Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.17 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -7.17 X-Migadu-Queue-Id: 973C5433A8 X-TUID: HISOJzPnhDyc On 2019-07-24 15:41, Jelle Licht wrote: > Timothy Sample writes: > > [snip] > >> I=E2=80=99ve come to think that bootstrapping JavaScript might be easier= than it >> looks. As time goes on, Node gets better at the newer JavaScript >> features. This removes the need for things like Babel or Rollup, since >> with some care, Node can run the source directly with out any >> transformations or bundling. That being said, TypeScript looks to be a >> major issue, as it is used in many fundamental JavaScript packages and >> it is not bootstrappable. > > Very recently (IE about 94 minutes ago), I found out something > interesting that might be helpful; Sucrase[0] is, among other things, a > typescript transpiler that does not do any type checking, and it only > has some runtime dependencies. > > I created some =E2=80=9Cfiio=E2=80=9D-packages as well [1] , and I have c= onfirmed that > it actually works! My next step was of course to compile TypeScript > proper, and this worked with one tiny snag that I reported at [2]. After > manually fixing these problems in the TypeScript source tree, I was able > to transpile the TypeScript sources using guix-packaged > `node-sucrase-bootstrap'. Hi Jelle! Did someone made some progress on the build-system since that to allow for this to be taken into account? If you still have it, could you share your "fiio" packages once again? The paste link is expired. Thanks! > >> I=E2=80=99m not sure in what capacity I want to pursue this. It=E2=80= =99s been sitting >> dormant on my computer for while, so I thought sharing it would be >> better than letting it fall by the wayside. I hope it proves useful one >> way or another. >> >> If you got this far, thanks for reading! :) > Thank you for sending this informative email :) >> >> >> -- Tim > > [0]: https://github.com/alangpierce/sucrase > [1]: https://paste.debian.net/1092893/ > [2]: https://github.com/alangpierce/sucrase/issues/464 --=20 Best regards, Nicolas Graves