This document provides the documentation for the internals of the stanc3 compiler intended for developers.
If you are looking for the user-facing documentation, see this section of the Stan User's Guide.
See the Getting Started page for information on setting up a stanc3 development environment.
Here are some resources (internal and external) which may be useful to a new developer.
The major code sections of the compiler are as follows (these are links):
These are related in the following architecture diagram
We additionally use several outside dependencies.