]> git.proxmox.com Git - rustc.git/blame - src/doc/rustc-dev-guide/src/part-3-intro.md
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / doc / rustc-dev-guide / src / part-3-intro.md
CommitLineData
6a06907d 1# Part 3: Source Code Representation
ba9703b0
XL
2
3This part describes the process of taking raw source code from the user and
4transforming it into various forms that the compiler can work with easily.
6a06907d 5These are called _intermediate representations (IRs)_.
ba9703b0
XL
6
7This process starts with compiler understanding what the user has asked for:
8parsing the command line arguments given and determining what it is to compile.
6a06907d
XL
9After that, the compiler transforms the user input into a series of IRs that
10look progressively less like what the user wrote.