Re:Ask HN: Transpiling a dynamically typed language to a sta...
by malisper on Saturday June 11, 2016 @12:47PM
(#11884125)
In one of the later chapters, the book Lisp in Small Pieces (great book), shows you how to write a a Scheme compiler to C. The general idea is you create a structure that contains a union type of all types in the dynamic language, and also a tag that tells you which type it is.
[ Parent
| on HN ]
There are no comments on this comment yet.