Semantic dictionary encoding (SDE) preserves the full semantic context of source programs while adding further information that can be used for accelerating the speed of
code generation. SDE forms a code-generating loader. It is a form of
bytecode
Bytecode (also called portable code or p-code) is a form of instruction set designed for efficient execution by a software interpreter. Unlike human-readable source code, bytecodes are compact numeric codes, constants, and references (norma ...
combined with a
JIT compiler. It is code generation at load time.
In an elementary form, the dictionary entries represent nodes in a
directed acyclic graph (DAG), that describes the actions of the program, as an
abstract syntax tree (AST) in tabular form.
It uses an
intermediate representation (IR), that is based on the encoded abstract syntax tree and
symbol table of a program.
See also
*
Semantics encoding {{unreferenced, date=March 2017
A semantics encoding is a translation between formal languages. For programmers, the most familiar form of encoding is the compilation of a programming language into machine code or byte-code. Conversion between docu ...
*
Code generation
*
Software portability
External links
A brief introduction to Semantic Dictionary Encoding*
Intermediate representations of mobile code
{{Compu-ling-stub
Compiler construction
Semantics