Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 4.03 KB

README.md

File metadata and controls

66 lines (43 loc) · 4.03 KB

notes

Notes from my research for forest-lang, mostly in the form of links to reference later.

High level design inspiration

In order to find the optimal cost/benefit ratio, Wirth used a highly intuitive metric, the origin of which is unknown to me but that may very well be Wirth’s own invention. He used the compiler’s self-compilation speed as a measure of the compiler’s quality. Considering that Wirth’s compilers were written in the languages they compiled, and that compilers are substantial and non-trivial pieces of software in their own right, this introduced a highly practical benchmark that directly contested a compiler's complexity against its performance. Under the self- compilation speed benchmark, only those optimizations were allowed to be incorporated into a compiler that accelerated it by so much that the intrinsic cost of the new code addition was fully compensated.

Lambda Calculus

Data structures

Parsing

Types

Proofs

DOM

Modules

Package Management

Tests

Memory management