Re:Shen: A Sufficiently Advanced Lisp [video] (2014)
by 616c on Tuesday March 31, 2015 @06:30PM
(#9300355)
Is there any good introductory info on K lambda? I did some quick Googling and Wikipedia searching, I did not find a singular article about this, not general lamdba calculus or something useful to a complete novice like me.
Re:Shen: A Sufficiently Advanced Lisp [video] (2014)
by doublec on Tuesday March 31, 2015 @07:00PM
(#9300469)
I think this from the Shen site describes it: http://www.shenlanguage.org/learn-shen/shendoc.htm#Kl
Re:Shen: A Sufficiently Advanced Lisp [video] (2014)
by tluyben2 on Wednesday April 01, 2015 @03:10AM
(#9302070)
Yes, you would use that doc to implement it and then the Shen distribution to test if it works as expected. Unlike Shen, K lambda is quite a simple Lisp implementation, if you know a bit of Lisp it should all look pretty straight forward. It doesn't have any advanced stuff built in; that's all done on top.
Edit: I would say, if you want to practice on implementing a compiler & runtime (or VM with JIT or LLVM frontend etc) KL is a good place to start. It's so easy (again, to get something working; to optimise etc is obviously just as painful as with any other language implementation) that it is a lot of fun and you learn a lot if you never did it before.