And unlike most compilers, Sparkplug does not generate any intermediate representation. Instead, it compiles directly to machine code via a single linear pass over the bytecode, emitting code that corresponds to the execution of that bytecode. The whole compiler is a
switch declaration inside a
for loop that distributes machine code generation functions.
Copyright © 2021 IDG Communications, Inc.