From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:48734) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3ntv-0002EM-MY for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3ntn-0006YE-M6 for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:27 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55426) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3ntk-0006VH-Jz for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:18 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1h3ntk-0003nU-Dj for guix-patches@gnu.org; Tue, 12 Mar 2019 16:21:16 -0400 Subject: [bug#34831] [PATCH 23/25] gnu: Add perl6-grammar-debugger. Resent-Message-ID: From: Efraim Flashner Date: Tue, 12 Mar 2019 22:20:12 +0200 Message-Id: <20190312202014.31224-23-efraim@flashner.co.il> In-Reply-To: <20190312201608.30892-1-efraim@flashner.co.il> References: <20190312201608.30892-1-efraim@flashner.co.il> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34831@debbugs.gnu.org * gnu/packages/perl6.scm (perl6-grammar-debugger): New variable. --- gnu/packages/perl6.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm index 2b224aba64..dff6e0d41f 100644 --- a/gnu/packages/perl6.scm +++ b/gnu/packages/perl6.scm @@ -229,6 +229,35 @@ regular expression engine for the virtual machine.") specification and runs on top of several virtual machines.") (license license:artistic2.0))) +(define-public perl6-grammar-debugger + ;; Last commit was September 2017 + (let ((commit "0375008027c8caa216bd869476ce59ae09b2a702") + (revision "1")) + (package + (name "perl6-grammar-debugger") + (version (git-version "1.0.1" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jnthn/grammar-debugger") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y826z3m276n7ia810hgcb3div67nxmx125m2fzlc16994zd5vm5")))) + (build-system rakudo-build-system) + (propagated-inputs + `(("perl6-terminal-ansicolor" ,perl6-terminal-ansicolor))) + (home-page "https://github.com/jnthn/grammar-debugger") + (synopsis "Simple tracing and debugging support for Perl 6 grammars") + (description "This module provides a simple debugger for grammars. Just +@code{use} it: use @code{Grammar::Debugger;} and any grammar in the lexical +scope of the use statement will automatically have debugging enabled. The +debugger will break execution when you first enter the grammar, and provide a +prompt.") + (license license:artistic2.0)))) + (define-public perl6-grammar-profiler-simple ;; Last commit was June 2017 (let ((commit "c0aca5fab323b2974821dabd6b89330c609e0b7d") -- 2.21.0