Expand description
Running phase 4 and writing what came out, which is what -E asks for.
Design: spec/04-driver-and-cli.md sections 4.3 and 4.4, and spec/05-preprocessor.md.
This is the first phase the driver actually runs, so it is also where the file system
implementation lives. Everything below the driver reads through the FileSystem trait,
and OsFileSystem is the one implementation of it that talks to the disk. Keeping it
here rather than in rucc-session is what keeps the layer rule true: a preprocessor test
is a map from path to bytes and cannot accidentally read the machine it runs on.
Structs§
- OsFile
System - The file system the compiler reads through when it is a compiler rather than a library.
- Preprocessed
- What preprocessing one file produced.
Functions§
- preprocess
- Preprocesses one file and renders the result.