4 ms·
I'm confused. This is a self-interpreter, but in what sense is it metacircular? It's an implementation of JavaScript in JavaScript; it does not appear to rely o
by lubutu 15y ago
I'm confused. This is a self-interpreter, but in what sense is it metacircular? It's an implementation of JavaScript in JavaScript; it does not appear to rely on the host's evaluation semantics, which is necessary to qualify as a metacircular evaluator: http://en.wikipedia.org/wiki/Meta-circular_evaluator http://en.wikipedia.org/wiki/Meta-circular_evaluator
- stralep 15y agoParent interpreter is not host, it is JavaScript. No one said that parent and child interpreters cannot have the same language :)
- lubutu 15y agoYou misunderstand: the parent interpreter is JavaScript, yes, but the child interpreter does not rely on the parent's evaluation semantics, which means it is not a metacircular evaluator, it's just a self-interpreter. See the Wikipedia article for more information.
- stralep 15y agoIt's currently 4AM here, so I cannot reason right :) If I misunderstood your point, my deepest apologies.
- comex 15y agoIn this interpreter, user objects are represented as identical host objects, not implemented by hand.