You are viewing archived messages.
Go here to search the history.

John Flockton 2024-11-30 14:09:49

Hey folks! Bit of a random question, but can any one think of any language interpreters which parse text straight to bytecode, omitting the AST step completely? Quick.js is one of the most well-known (github.com/bellard/quickjs/tree/master) but I wondered if any one knew of any other interesting examples for other languages?

Mariano Guerra 2024-11-30 15:15:58

I think the original pascal did it doing a one pass parsing to p-code en.wikipedia.org/wiki/P-code_machine