14 ms·
You can't write a metacircular interpreter in Javascript, because Javascript is not homoiconic. Is that a downside? I never wrote or used metacurcular interpre
by wruza 2y ago
You can't write a metacircular interpreter in Javascript, because Javascript is not homoiconic.
Is that a downside? I never wrote or used metacurcular interpreter in my life and still don’t know why I had to read about it. Is it an interesting implementation technique of lisp? Yes. Does anyone really need that?
You can rip off that part and everything that follows and that will be enough for a regular programmer. No one itt needs to know how to design metacircular interpreter on register machines.
- shawn_w 2y agoIt allows the book to skip things like lexing and parsing and instead go straight to its main course: transforming, executing and compiling syntax trees.