ParentFull threadtailrecursion·You requested from scratch, but also look into "metacompilation", which was typically how it was done.View on HN