Planes on Planes

← all of Planes

grammar/interp.planes is a Planes interpreter written in Planes. This page loads it into the JavaScript interpreter and runs your program through it — two interpretive layers — then runs the same program directly on the JavaScript interpreter, and compares the two. The comparison is code, not eyesight: the verdict below is computed.

v11.0 §136 ruled that this route gives the worst performance of any implementation option. It has never carried a number. The ratio below is that number, in this browser.

⌘/Ctrl + Enter to run both

Direct — js/interp.mjs

(not run yet)

Through interp.planes

(not run yet)

Press Run both ▸. The two panes are compared in code — this line reports what the comparison returned, never what it ought to return.