robert-strandh / SICL

A fresh implementation of Common Lisp
Other
1.07k stars 79 forks source link

Separate out interpolation and beef it up. #152

Closed karlosz closed 4 years ago

karlosz commented 4 years ago

Allows the compiler to directly integrate tail recursive local functions that have one return point like in: (lambda (x) (labels ((count (x) (print x) (if (< x 3) x (count (1- x))))) (if (read) (count 4) (count 6))))

with no code duplication of any kind.