pcc/ internals/ pass1

(This is not documented yet. Please add details about pass1 here.)

cgram.y

The frontend. This file is really intuitive.

Reading through, you will find block, buildtree, branch, plabel, ecomp, tempnode and so on. These functions are defined in trees.c.

trees.c

You can learn much from buildtree(). Write a simple C program and "ccom -Xb" it.

Also see node structure.