diff --git a/core/cd/summary/code/ocaml/00_basics.ml b/core/cd/summary/code/ocaml/00_basics.ml new file mode 100644 index 0000000..63e2844 --- /dev/null +++ b/core/cd/summary/code/ocaml/00_basics.ml @@ -0,0 +1 @@ +let a_function (a : int) (b : int) : int = a * b diff --git a/core/cd/summary/main.pdf b/core/cd/summary/main.pdf new file mode 100644 index 0000000..a319e29 Binary files /dev/null and b/core/cd/summary/main.pdf differ diff --git a/core/cd/summary/main.tex b/core/cd/summary/main.tex index 01a7b7b..336b052 100644 --- a/core/cd/summary/main.tex +++ b/core/cd/summary/main.tex @@ -38,8 +38,11 @@ \newpage \printtoc{Aquamarine} +\section{Introduction} +This summary is still a very early version and structure and content will still change and errors will be fixed. - +\newpage +\input{parts/main.tex} \end{document} diff --git a/core/cd/summary/parts/main.tex b/core/cd/summary/parts/main.tex new file mode 100644 index 0000000..3ec39c9 --- /dev/null +++ b/core/cd/summary/parts/main.tex @@ -0,0 +1,12 @@ +\section{OCAML} +\input{parts/ocaml/main.tex} + +\section{x86Lite} + +\section{LLVM} + +\section{Parsing} + +\section{Lexing} + +\section{Optimizations} diff --git a/core/cd/summary/parts/ocaml/00_basics.tex b/core/cd/summary/parts/ocaml/00_basics.tex new file mode 100644 index 0000000..6f6fdfc --- /dev/null +++ b/core/cd/summary/parts/ocaml/00_basics.tex @@ -0,0 +1,4 @@ +OCAML is a compiled, functional programming language and a descendant of the Meta Language programming language. +In contrast to other functional programming languages (such as Haskell), it is actually used in the wild by more than two people. + +\inputcodewithfilename{ocaml}{}{code/ocaml/00_basics.ml} diff --git a/core/cd/summary/parts/ocaml/main.tex b/core/cd/summary/parts/ocaml/main.tex new file mode 100644 index 0000000..05df452 --- /dev/null +++ b/core/cd/summary/parts/ocaml/main.tex @@ -0,0 +1,2 @@ +\subsection{The basics} +\input{parts/ocaml/00_basics.tex}