summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/esolangs.scm34
1 files changed, 33 insertions, 1 deletions
diff --git a/gnu/packages/esolangs.scm b/gnu/packages/esolangs.scm
index c251efc2e76..9c33ad8c369 100644
--- a/gnu/packages/esolangs.scm
+++ b/gnu/packages/esolangs.scm
@@ -48,7 +48,8 @@
48 #:use-module (guix packages) 48 #:use-module (guix packages)
49 #:use-module (guix git-download) 49 #:use-module (guix git-download)
50 #:use-module ((guix licenses) #:prefix license:) 50 #:use-module ((guix licenses) #:prefix license:)
51 #:use-module (guix packages)) 51 #:use-module (guix packages)
52 #:use-module (guix utils))
52 53
53(define-public cfunge 54(define-public cfunge
54 (package 55 (package
@@ -285,4 +286,35 @@ The language is documented only by the compiler's Perl source code and the
285included samples.") 286included samples.")
286 (license license:cc-by-sa4.0)))) 287 (license license:cc-by-sa4.0))))
287 288
289(define-public unlambda
290 (package
291 (name "unlambda")
292 (version "2.0.0")
293 (source
294 (origin
295 (method url-fetch)
296 (uri (string-append "http://www.eleves.ens.fr:8080/home/madore/unlambda-"
297 version ".tar.gz"))
298 (sha256
299 (base32 "1a8h1i2a3pk66nfsg5jc9r4ylg1q9r81x9zmvj6272wjkaiy1nx9"))))
300 (build-system copy-build-system)
301 (arguments
302 (list
303 #:install-plan
304 #~'(("unlambda" "bin/")
305 ("doc/" "share/doc/unlambda/html/")
306 ("README" "share/doc/unlambda/"))
307 #:phases
308 #~(modify-phases %standard-phases
309 (add-before 'install 'build
310 (lambda _
311 (invoke #$(cc-for-target)
312 "-g" "-O2"
313 "-o" "unlambda" "c-refcnt/unlambda.c"))))))
314 (home-page "http://www.madore.org/~david/programs/unlambda/")
315 (synopsis "Interpreter for an obfuscated functional programming language")
316 (description "Unlambda is an obfuscated programming language in which the
317only form of objects manipulated by it are functions.")
318 (license license:gpl2)))
319
288;;; esolangs.scm ends here 320;;; esolangs.scm ends here