Back Home

JCC

This site contains architectural/design information about JCC.

Architecture Overview

Driver

The driver performs argument parsing, as well as invoking the various components used for compilation.

Arg parsing

Frontend

The frontend runs the preprocessor, lexer, and parser in lockstep, before performing semantic analysis (called 'typechk' within the compiler).

See the Parse article for a detailed breakdown of the lexer & parser.
See the Typechk article for a detailed breakdown of the typechk semantic analysis pass.

Backend