3 ms·
In LISP-like languages a compiler/interpeter is a simple example.
by edejong 7y ago
In LISP-like languages a compiler/interpeter is a simple example.
- kazinator 7y agohttps://github.com/sbcl/sbcl/tree/master/src/compiler https://github.com/sbcl/sbcl/tree/master/src/compiler Doesn't look simple to me. This one is in one file, but more than half a megabyte of code spanning close to 12000 lines: https://github.com/clisp-lang/clisp/blob/master/src/compiler.lisp https://github.com/clisp-lang/clisp/blob/master/src/compiler... The Emacs Lisp byte compiler also doesn't look like a good small example for neophytes: http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-lisp/bytecomp.el http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/emacs-l...