-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tex
119 lines (82 loc) · 2.29 KB
/
main.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
\documentclass[pdfa,cucitura]{toptesi}
\hypersetup{%
pdfpagemode={UseOutlines},
bookmarksopen,
pdfstartview={FitH},
colorlinks,
linkcolor={blue},
citecolor={red},
urlcolor={blue}
}
\usepackage[latin1]{inputenc}
% exact placing figures
\usepackage{float}
% insert eps files
\usepackage{epstopdf}
% cool tables
\usepackage{booktabs}
\usepackage{rotating}
\usepackage{mathrsfs}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{exercise}
\selectlanguage{english}
\ateneo{Politecnico di Torino}
\titolo{Notes from the course Formal Languages and Compilers}
\corsodilaurea{Computer Engineering}
\candidato{Marco \textsc{Terrinoni}}
\relatore{prof.\ Antonio Rivoira}
\sedutadilaurea{\textsc{Anno~accademico} 2012-2013}
\logosede{img/logopolito}
\input{utils/commands.tex}
\begin{document}
\english
\errorcontextlines=9
\expandafter\ifx\csname StileTrieste\endcsname\relax
%\frontespizio
\else
\paginavuota
\begin{dedica}
To my grandparents
\textdagger\ You will always live in my memories
\end{dedica}
\tomo
\fi
\sommario
\input{src/summary.tex}
\indici
\mainmatter
\part{Formal Languages}
\chapter{Classification (FLC)}
\input{src/classification.tex}
\chapter{Regular Languages (RL)}
\input{src/regular_languages.tex}
\chapter{Context-Free Languages (CFL)}
\input{src/context_free_languages.tex}
\chapter{Turing Machines (TM)}
\part{Compilers}
\chapter{Compiler Structure (CS)}
\input{src/compilers.tex}
\chapter{Lexical Analysis (LA)}
\input{src/lexical_analysis.tex}
\chapter{Syntax Analysis (SA)}
\input{src/syntax_analysis.tex}
\chapter{Syntax-Directed Translation (SDT)}
\input{src/syntax_directed_translation.tex}
%\chapter{Semantic Analysis and Intermediate-Code Generation (SA/ICG)}
\input{src/semantic_analysis_intermediate_code_generation.tex}
\part{Laboratories}
\chapter{Regular Expressions and JFlex Scanner}
\input{src/regular_expressions_jflex_scanner.tex}
\chapter{Grammar and Introduction to CUP}
\input{src/grammar_introduction_cup.tex}
%\chapter{Ambiguous Grammars, Lists, Handling Syntax Errors}
\chapter{Advanced Use of CUP}
\input{src/advanced_use_of_cup.tex}
\chapter{CUP \& Semantic}
\input{src/cup_semantic.tex}
\chapter{Type-Checking}
\input{src/type_checking.tex}
\part{Exercises}
\input{src/exercises.tex}
\end{document}