The Language Stack
Ny

The Language Stack

From Silicon to Semantics

Set Lonnert

Del 4: Code Crafting

Industri & teknik

Mjukband

270 sidor

ISBN-13: 9789181344387

Förlag: BoD - Books on Demand

Utgivningsdatum: 07.07.2026

Språk: Engelska

Nyckelord: Programming languages, compilers, virtual machines, type theory, lark

Betyg::
0%
120,00 kr

inkl. moms / exkl. frakt

Tillgänglig

Din egen bok!

Bli författare med BoD och ge ut din bok och e-bok i bokhandeln.

Läs mer
It is 2026, and a language model can generate a lexer, a type
checker, and a working compiler in seconds. So why learn to build
them by hand? Because a generated artifact is an assertion -
and an assertion you cannot evaluate is not knowledge, it is a hope
with good syntax. The value was never in the typing.

This book carries one language - Lark, the Lambda Affine Resource
Kernel - from a real instruction set to a machine-checked proof
that its meaning is sound, treating the hardware, the theory, and
the proof as a single argument. You begin at the silicon and build
upward through lexer, parser, type system, interpreter, and
optimizer, to a code generator that runs Lark as native code on an
affordable Raspberry Pi Pico 2/2W.

Theory is earned, not assumed: Hindley-Milner inference, affine
ownership, and traits, each introduced when the implementation needs
it. And the book teaches the discipline that code-generating tools
demand - an interpreter that defines what a program means,
a differential-testing harness that says which back end is wrong, a
type-safety theorem that bounds what any transformation may do. And
then it turns that machinery on itself: the finished compiler is
fuzzed, the tests are checked with planted bugs, and even the proof
kernel is attacked until it gives up its own flaws - because a
guarantee is worth exactly as much as the adversary it has survived.

For the technically literate programmer who has always meant to
understand what is under their language and never found the entry
point. It assumes familiarity with Python or C and basic data
structures - but not a line of compiler theory.
Set Lonnert

Set Lonnert

Set Lonnert has been programming and writing about computers since the early 1980s. This is the fourth volume in the Code Crafting series, which approaches computing from first principles.

Det finns inga presskommentarer tillgängliga just nu.

Skriv din egen recension
Logga in här för att lämna en recension.

3D-visning av produkten (exempel baserat på bokens inbindning. Utformning och detaljer kan variera.)

Mjukband
MjukbandPaperback Glue Binding