
There is part II of this set of slides by Xavier Leroy:
http://gallium.inria.fr/~xleroy/mpri/2-4/.
Paul
On Thu, Mar 10, 2016 at 10:27 PM Richard A. O'Keefe
On 11/03/16 3:17 am, Jonne Ransijn wrote:
if a Lisp compiler seems too easy (And I have to say, it _is_ quite easy, and shouldn't take more than a couple of hours of coding),
Since you know so much about writing Lisp compilers, perhaps you can point me to something that explains how to implement Common Lisp function calls efficiently? There are &optional, &rest, and &key parameters to deal with, and when the compiler sees a call site, in general it hasn't a clue what the target is expecting (this is unlike optional and keyword parameters in Swift, for example). If it were just required, &optional, and &rest parameters, I could see how to do it, but throwing &key in makes it much harder.
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe