From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 15 00:23:18 2021 Received: (at submit) by debbugs.gnu.org; 15 Apr 2021 04:23:18 +0000 Received: from localhost ([127.0.0.1]:36207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWtXC-0007Yl-HC for submit@debbugs.gnu.org; Thu, 15 Apr 2021 00:23:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:54566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWtXB-0007Ye-1B for submit@debbugs.gnu.org; Thu, 15 Apr 2021 00:23:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57386) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWtXA-000890-Qs for guix-patches@gnu.org; Thu, 15 Apr 2021 00:23:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57324) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWtXA-0006Kd-Js for guix-patches@gnu.org; Thu, 15 Apr 2021 00:23:16 -0400 Received: from localhost ([::1]:48798 helo=mikegerwitz-pc) by fencepost.gnu.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lWtXA-0002bR-2O for guix-patches@gnu.org; Thu, 15 Apr 2021 00:23:16 -0400 From: Mike Gerwitz To: guix-patches@gnu.org Subject: [PATCH 0/6] Add TLA+ Tools (tla2tools) Date: Thu, 15 Apr 2021 00:22:03 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) X-From-Line: fc94440ebc83044f49813f58633ccaa6b1becc65 Mon Sep 17 00:00:00 2001 Message-Id: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable This introduces tla2tools.jar, which contains the TLA+ model checker and simulator (TLC); a TLA+ REPL; a semantic analyzer (SANY); the TLATeX typesetting system; PlusCal translator; and more. I have added five wrapper scripts for convenience, rather than invoking `java' manually. The wrapper scripts are not comprehensive; users who are familiar with tla2tools.jar, or have read the book Specifying Systems, may still invoke the commands in the traditional way. This was significnatly more involved than I had anticipated, and I was forced to make some compromises on how I handled dependencies. Most notably, rather than packaging the entirety of LSP4J and JLine 3, I packaged only what tla2tools used, since going all the way would have been a significant undertaking that I would not have been able to see through. I have not packaged Java libraries for Guix before (and it's been years since I packaged anything else), so please be critical and let me know what I can do better. I hope to explore packaging TLAPS next. I don't anticipate packaging the Toolbox for Guix, which is TLA+'s GUI; there are a huge number of dependencies. Enjoy! Mike Gerwitz (6): gnu: Add java-gson-2.8.6. gnu: Add java-eclipse-xtext-xbase-lib. gnu: Add java-eclipse-lsp4j packages. gnu: Add java-jline-terminal. gnu: Add java-jline-reader. gnu: Add tla2tools. gnu/packages/java.scm | 410 ++++++++++++++++++ .../patches/tla2tools-build-xml.patch | 109 +++++ 2 files changed, 519 insertions(+) create mode 100644 gnu/packages/patches/tla2tools-build-xml.patch =2D-=20 Mike Gerwitz Activist For User Freedom | GNU Maintainer & Volunteer GPG: D6E9 B930 028A 6C38 F43B 2388 FEF6 3574 5E6F 6D05 https://mikegerwitz.com --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEtyLNo03iHAANpWtgjJF7f13FG6IFAmB3v24ACgkQjJF7f13F G6JLtBAAjHMEfjqhCSaFk04meRrVvzE//XJOYfFyMpsqvASO354rKX/H3FT1iRuE 585wcjv7DCsYruv+mTU9/eNYXgti8Q4e8l07PornvjXtMswi1R+XyqbbEmqHT8lJ mhn4NsZ66zPHccd51jqraes5RX618sjWg7hj4BTc5bgB/DktLL5OBJnQFiVIk2/9 O623zKiRCxjgWE2nUe4uwc52rlzKrR/8eSL4VlV5cE4VISrR1cd25toIr1pCgsbB CUkFP77oc+Tb2MRzrQ0nABfQe7yYoFwVrEwEfDWs2yQoJKxMYLJ+E37JMjdgEGwQ 841wmOeJA1w5s5JP5twpMBBc0UX2F7PRM50F8+uXblMBW+/Ca+HCZLvRY3MnQNo6 YQ3JCiUXiPtfeMufpmyLOcymFsnfGhodw50kdZ8BCNShESW9viEbQtk8H9auQZfF e9t4cvafdg9NCaFfQp2wF+b1fTGtiiO5IzFWJeBTFsYbymGKFsIX3qV4vtZH/2OC f8jE1Gd3lzZxybvykUszRrsDkO78diNgN1CnOVE6TtpVJ90ggGo50UJEIRK5dQJ9 ulYJNNMx3M2KYzjnjKfdVGFRes7cDxzkF4CIxbyLiGORTj7AytNmrTBOdQlcbQ0j CattBrFFZn6tV2Jf3BNchUMCrBPz0CpB4sNo6BRuVh1sjzVtagQ= =M6PH -----END PGP SIGNATURE----- --=-=-=--