Lesson plan

Semantic dictionary encoding

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.

Back to article

Article summary

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.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.