logoalt Hacker News

pizlonatoryesterday at 9:09 PM2 repliesview on HN

That’s how the interpreter in JavaScriptCore gets compiled. The interpreter is written in a macro assembly dialect I invented and this is the compiler for it.

(I say compiled, not assembled, because it’s higher level than normal assembly. There’s an actual pipeline of transformations that happens. Plus a Turing complete macro language)


Replies

cxryesterday at 10:25 PM

Thanks, that's helpful. (I mistook the compiler as being one that deals with JSC bytecode, either as input or output.)