26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
---
|
|
title: "Semantic dictionary encoding"
|
|
chunk: 1/1
|
|
source: "https://en.wikipedia.org/wiki/Semantic_dictionary_encoding"
|
|
category: "reference"
|
|
tags: "science, encyclopedia"
|
|
date_saved: "2026-05-05T11:38:43.602705+00:00"
|
|
instance: "kb-cron"
|
|
---
|
|
|
|
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 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
|
|
Code generation
|
|
Software portability
|
|
|
|
|
|
== References ==
|
|
|
|
|
|
== External links ==
|
|
A brief introduction to Semantic Dictionary Encoding |