aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-03-10 21:57:16 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-03-23 22:26:52 +0200
commitc2bc5b2bc05ec2f6c7d5fff3fe2fb12422755f20 (patch)
tree2872f77663ddcdd9604404782df10b51eae9bf1f /gnu/packages
parent63b9f87ae452f1882d90ca3d6c17ced377bd68a1 (diff)
downloadpatches-c2bc5b2bc05ec2f6c7d5fff3fe2fb12422755f20.tar
patches-c2bc5b2bc05ec2f6c7d5fff3fe2fb12422755f20.tar.gz
gnu: Add perl6-grammar-debugger.
* gnu/packages/perl6.scm (perl6-grammar-debugger): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/perl6.scm29
1 files changed, 29 insertions, 0 deletions
diff --git a/gnu/packages/perl6.scm b/gnu/packages/perl6.scm
index a0d9343ec6..883eb44203 100644
--- a/gnu/packages/perl6.scm
+++ b/gnu/packages/perl6.scm
@@ -228,6 +228,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")