report template

This commit is contained in:
User 2017-04-06 23:20:52 +02:00
parent de7eb7c80d
commit 96f1ac4e65
10 changed files with 146 additions and 0 deletions

View File

@ -0,0 +1,25 @@
% Detailed language description. A systematic description of the features of your language, for each
% feature specifying
% Syntax, including one or more examples;
% Usage: how should the feature be used? Are there any typing or other restrictions?
% Semantics: what does the feature do? How will it be executed?
% Code generation: what kind of target code is generated for the feature?
% You may make use of your ANTLR grammar as a basis for this description, but note that not every
% rule necessarily corresponds to a language feature.
\subsection{}
\subsubsection{Syntax}
\begin{lstlisting}[style=ANTLR]
\end{lstlisting}
\subsubsection{Gebruik}
%hoe gebruik je het? wat zijn de typerestricties?
\subsubsection{Semantiek}
%semantiek
\subsubsection{Codegeneratie}
%wat voor ILOC wordt er gegenereerd voor deze functie?

View File

@ -0,0 +1,29 @@
% verslag-samenvatting.tex
% verslag-problemen.tex
% verslag-beschrijving.tex
% verslag-software.tex
% verslag-tests.tex
% verslag-conclusies.tex
% verslag-grammatica.tex
% verslag-walker.tex
% verslag-testprogramma.tex

View File

@ -0,0 +1,2 @@
\begin{lstlisting}[style=ANTLR]
\end{lstlisting}

View File

@ -0,0 +1,2 @@
% Problems and solutions. Summary of problems you encountered and how you solved them (max. two
% pages).

View File

@ -0,0 +1 @@
% Summary of the main features of your programming language (max. 1 page)

4
doc/verslag-software.tex Normal file
View File

@ -0,0 +1,4 @@
% Description of the software: Summary of the JAVA classes you implemented; for instance, for symbol
% table management, type checking, code generation, error handling, etc. In your description, rely
% on the concepts and terminology you learned during the course, such as synthesised and inherited
% attributes, tree listeners and visitors.

View File

@ -0,0 +1,3 @@
% Extended test program. The listing of one (correct) extended test program, as well as the generated
% target code for that program and one or more example executions showing the correct functioning of
% the generated code.

6
doc/verslag-tests.tex Normal file
View File

@ -0,0 +1,6 @@
% Test plan and results. Discussion of the correctness test, using the criteria described in <20>D.5. You
% should provide a set of test programs demonstrating the correct functioning of your compiler. The test
% set should contain, next to programs testing the various language featurs, also programs containing
% syntactic, semantic or run-time errors.
% All tests should be provided as part of the zip-file. One test programshould be included as an appendix
% in the report (see below).

2
doc/verslag-walker.tex Normal file
View File

@ -0,0 +1,2 @@
% All ANTLR tree walkers (listeners and visitors). The complete listing of each implementation of a
% tree listener or tree visitor for your grammar.

72
doc/verslag.tex Normal file
View File

@ -0,0 +1,72 @@
\documentclass[a4paper]{article}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{pdfpages}
\usepackage[dutch]{babel}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage[scientific-notation=true,round-precision=5,round-mode=figures]{siunitx}
\usepackage{listings}% http://ctan.org/pkg/listings
\lstset{
basicstyle=\ttfamily,
mathescape,
frame=single
}
\lstdefinestyle{ANTLR}{
literate=*,
basicstyle=\small\ttfamily\color{black},
breaklines=true,
morestring=[b][\color{blue}\ttfamily]',
moredelim=*[s][\color{black}\ttfamily]{options}{\}},
moredelim=[s][\color{blue}\ttfamily]{\[}{\]},
moredelim=[s][\color{magenta}\ttfamily]{<}{>},
commentstyle={\color{gray}\itshape},
morecomment=[l]{//},
morecomment=[l][\color{gray}]\#,
emph={
grammar,skip;
},emphstyle={\color{magenta}\ttfamily},
alsoletter={:,|,;,->,.},
morekeywords={:,|,;,->,.},
keywordstyle={\color{red}\bfseries},
}
\begin{document}
\title{Verslag Vertalterbouwproject}
\maketitle
\vfill
\author{Frank Wibbelink (s1184725)}
\newpage
\section{Samenvatting}
\input{verslag-samenvatting.tex}
\section{Problemen en oplossingen}
\input{verslag-problemen.tex}
\section{Beschrijving van de taal}
\input{verslag-beschrijving.tex}
\section{Programmabeschrijving}
\input{verslag-software.tex}
\section{Tests}
\input{verslag-tests.tex}
\section{Conclusies}
\input{verslag-conclusies.tex}
\newpage
\appendix
\section{ANTLR-grammatica's}
\input{verslag-grammatica.tex}
\section{ANTLR-walkers}
\input{verslag-walker.tex}
\section{Testprogramma}
\input{verslag-testprogramma.tex}
\end{document}