Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
An implementation of lazy-k on top of Parrot https://trac.parrot.org/parrot/wiki/L…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
This is an incomplete implementation of Lazy K - only 'ski parsing is done currently. Build and test: $ parrot setup.pir clean $ parrot setup.pir $ parrot setup.pir test Show help: $ parrot setup.pir help Generate a file for Plumage: $ mkdir plumage $ parrot setup.pir plumage > plumage/lazy_k.json Lazy K programs live in the same timeless Platonic realm as mathematical functions, what the Unlambda page calls "the blessed realm of the pure untyped lambda calculus." There is no special syntax for IO, Lazy K programs get their input (from stdin) as a list of church numerals and create a list of these, which is converted to 8-bit characters as output of the computation, 256 is serving as EOF. References: http://esolangs.org/wiki/Lazy_K http://homepages.cwi.nl/~tromp/cl/lazy-k.html There used to be an entry about Lazy K on Wikipedia: http://en.wikipedia.org/wiki/Wikipedia:Articles_for_deletion/Lazy_K The 2 example files are copyrighted GPL by Ben Rudiak-Gould, the author of Lazy K.