\documentclass{article}

\input{~/projects/latex/dist/full.tex}

\setup{Systems Programming and Computer Architecture}

\usepackage{lmodern}
\setFontType{sans}

\newcommand{\lC}{\texttt{C}}

\begin{document}
\startDocument
\usetcolorboxes


\vspace{2cm}
\begin{Huge}
    \begin{center}
        TITLE PAGE COMING SOON
    \end{center}
\end{Huge}


\vspace{4cm}
\begin{center}
    \begin{Large}
        ``\textit{If you are using CMake to solve the exercises... First off, sorry that you like CMake}``
    \end{Large}

    \hspace{3cm} - Timothy Roscoe, 2025
\end{center}

\vspace{3cm}
\begin{center}
    HS2025, ETHZ\\[0.2cm]
    \begin{Large}
        Summary of the Lectures and Lecture Slides
    \end{Large}\\[0.2cm]
\end{center}


%          ╭────────────────────────────────────────────────╮
%          │                     Quotes                     │
%          ╰────────────────────────────────────────────────╯
\input{parts/quotes.tex}


%          ╭────────────────────────────────────────────────╮
%          │               Table of contents                │
%          ╰────────────────────────────────────────────────╯
\newpage
\printtoc{magenta}


%          ╭────────────────────────────────────────────────╮
%          │                    Content                     │
%          ╰────────────────────────────────────────────────╯
% ── Intro to C ──────────────────────────────────────────────────────
\newsection
\section{The C Programming Language}
\input{parts/00_c/00_intro.tex}
\input{parts/00_c/01_basics/00_intro.tex}
\input{parts/00_c/01_basics/01_control-flow.tex}
\input{parts/00_c/01_basics/02_declarations.tex}
\input{parts/00_c/01_basics/03_operators.tex}
\input{parts/00_c/01_basics/04_arrays.tex}
\input{parts/00_c/01_basics/05_strings.tex}
\input{parts/00_c/01_basics/06_integers.tex}
\input{parts/00_c/01_basics/07_pointers.tex}
\input{parts/00_c/02_preprocessor.tex}


% ── Intro to x86 asm ────────────────────────────────────────────────
\newsection
\section{x86 Assembly}
\input{parts/01_asm/00_intro.tex}


% ── Hardware recap ──────────────────────────────────────────────────
\newsection
\section{Hardware}
\input{parts/02_hw/00_intro.tex}

Remember: Rust and the like have an \texttt{unsafe} block... \lC's equivalent to this is
\begin{code}{c}
int main( int argc, char *argv[] ) {
    // Unsafe code goes here
}
\end{code}
i.e. \bi{YOU are the one that makes \lC\ code safe!}

\end{document}
