Re:A JavaScript parser and interpreter written in Go
by cdcarter on Thursday November 28, 2013 @03:26PM
(#6816272)
The question is what about a JS interpreter makes this necessary.
[ Parent
| on HN ]
Re:A JavaScript parser and interpreter written in Go
by ek on Thursday November 28, 2013 @05:14PM
(#6816748)
As I answered above to another commenter with a similar question, JavaScript is a dynamically typed language and representing dynamic values in a statically typed language requires a bit of thinking, and unions are a common way of doing this.