Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 34 lines (23 sloc) 1.017 kB
5271818 [lazy-k]
bernhard authored
1 This is an incomplete implementation of Lazy K - only 'ski parsing is
4e0a417 More FP fun - Lazy-k
leo authored
2 done currently.
3
233331d @bschmalhofer Use setup.pir for Lazy K with an installed parrot.
authored
4 Build and test:
5 $ parrot setup.pir clean
6 $ parrot setup.pir
7 $ parrot setup.pir test
8
9 Show help:
10 $ parrot setup.pir help
11
12 Generate a file for Plumage:
13 $ mkdir plumage
14 $ parrot setup.pir plumage > plumage/lazy_k.json
15
4e0a417 More FP fun - Lazy-k
leo authored
16 Lazy K programs live in the same timeless Platonic realm as mathematical
17 functions, what the Unlambda page calls "the blessed realm of the pure untyped
18 lambda calculus."
19
5271818 [lazy-k]
bernhard authored
20 There is no special syntax for IO, Lazy K programs get their input (from stdin)
4e0a417 More FP fun - Lazy-k
leo authored
21 as a list of church numerals and create a list of these, which is converted to
22 8-bit characters as output of the computation, 256 is serving as EOF.
23
24 References:
25
5271818 [lazy-k]
bernhard authored
26 http://esolangs.org/wiki/Lazy_K
27
4e0a417 More FP fun - Lazy-k
leo authored
28 http://homepages.cwi.nl/~tromp/cl/lazy-k.html
29
5271818 [lazy-k]
bernhard authored
30 There used to be an entry about Lazy K on Wikipedia:
31 http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Lazy_K
32
33 The 2 example files are copyrighted GPL by Ben Rudiak-Gould, the author of Lazy K.
Something went wrong with that request. Please try again.