X-Git-Url: https://git.martlubbers.net/?a=blobdiff_plain;f=thesis.tex;h=d6d6e7154eb16daea90e4a6a956173f2356d26d7;hb=8c96bdcdd19c4c3cbe9f86357508f5efb7169cc5;hp=cd0ccd6d038085045ba28fb32b3b1ab2f713fbfe;hpb=d118ff9d857683084065145df45135ef6fa06711;p=msc-thesis1617.git diff --git a/thesis.tex b/thesis.tex index cd0ccd6..d6d6e71 100644 --- a/thesis.tex +++ b/thesis.tex @@ -1,142 +1,93 @@ %&thesis -\usepackage[nonumberlist,acronyms]{glossaries} +\usepackage[nonumberlist]{glossaries} % Glossaries and acronyms +\usepackage[]{algorithm2e} % Pseudocode \makeglossaries% -\newacronym{GADT}{GADT}{Generalized Algebraic Datatype} -\newacronym{GPIO}{GPIO}{General-Purpose Input/Output} -\newacronym{ADT}{ADT}{Algebraic Datatype} -\newacronym{SDS}{SDS}{Shared Data Source} -\newacronym{IoT}{IoT}{Internet of Things} -\newacronym{TOP}{TOP}{Task Oriented Programming} -\newacronym{EDSL}{(E)DSL}{(Embedded) Design Specific Language} -\newacronym{RISC}{RISC}{Reduced Instruction Set Computer} -\newacronym{ARM}{ARM}{Acorn \acrshort{RISC} Machine} -\newacronym{LTN}{LTN}{Low Throughput Network} -\newacronym{IDE}{IDE}{Integrated Development Environment} -\newacronym{TCP}{TCP}{Transmission Control Protocol} -\newacronym{RFID}{RFID}{Radio-Frequency Identification} -\newacronym{GPS}{GPS}{Global Positioning System} -\newacronym{RTOS}{RTOS}{Real-Time Operating System} -\newglossaryentry{Arduino}{name=Arduino, - description={is a cheap and popular microcontroller that is widely used for - rapid prototyping}} -\newglossaryentry{Clean}{name=Clean, - description={is a staticly typed pure lazy functional programming language based on graph - rewriting}} -\newglossaryentry{Haskell}{name=Haskell, - description={is a staticly typed pure lazy functional programming language}} -\newglossaryentry{iTasks}{name=iTasks, - description={is a \acrshort{TOP} implementation written as a \acrshort{EDSL} - in the \gls{Clean} programming language}} -\newglossaryentry{Ivory}{name=Ivory, - description={is a type-safe \gls{EDSL} designed to generate \gls{C}-code - for high-assurance low-level systems}} -\newglossaryentry{Tower}{name=Tower, - description={is a type-safe \gls{EDSL} similar to \gls{Ivory} designed to - generate code for \acrlong{RTOS}}} -\newglossaryentry{Task}{name=Task, - description={is the basic building block of a \acrshort{TOP} system}} -\newglossaryentry{mTask}{name=mTask, - description={is an abstraction for \glspl{Task} living on \acrshort{IoT} devices}} -\newglossaryentry{C}{name=C, - description={is low-level imperative programming language suitable for - embedded devices}} -\newglossaryentry{C++}{name=C++, - description={is low-level imperative and object-oriented programming - language suitable for embedded devices based on \gls{C}}} -\newglossaryentry{SAPL}{name=SAPL, - description={is an intermediate purely functional programming language}} -\newglossaryentry{Firmata}{name=Firmata, - description={is standardized protocol for communicating with - microcontrollers}} -\newglossaryentry{Javascript}{name=Javascript, - description={is an imperative programming language designed to run in web - browsers}} +\input{glossaries} \begin{document} \frontmatter{} %Titlepage -\maketitleru[ - pagenr=1, - course={Master Thesis}, - institute={Radboud University Nijmegen}, - authorstext={Author:}, - righttextheader={Supervisors:}, - righttext={prof.~dr.~dr.h.c.~ir.~M.J.~Plasmeijer\\dr.~P.W.M.~Koopman}] +\input{titlepage} \listoftodos[Todo] \glsaddall{} %Abstract +\addcontentsline{toc}{chapter}{Abstract} \chapter*{\centering Abstract} \begin{quotation} \centering\noindent - \input{abstract.tex} + \input{abstract} \end{quotation} +\addcontentsline{toc}{chapter}{Acknowledgements} \chapter*{\centering Acknowledgements} \begin{quotation} \centering\it\noindent - \input{acknowledgements.tex} + \input{acknowledgements} \end{quotation} %Table of contents \tableofcontents +\addcontentsline{toc}{chapter}{Glossaries \& Acronyms} +\printglossaries% + \mainmatter{} \glsresetall{} \chapter{Introduction}\label{chp:introduction} -\input{introduction.tex} +\input{introduction} -\chapter{\acrlong{TOP}}\label{chp:top} -\input{methods.top.tex} +\chapter{Task Oriented Programming}\label{chp:top} +\input{methods.top} -\chapter{\acrlongpl{EDSL}}\label{chp:dsl} -\input{methods.dsl.tex} +\chapter{Embedded Domain Specific Language}\label{chp:dsl} +\input{methods.dsl} \chapter{mTask}\label{chp:mtask} -\input{methods.mtask.tex} +\input{methods.mtask} \chapter{Architecture}\label{chp:arch} -\input{results.arch.tex} +\input{results.arch} \chapter{mTask continued}\label{chp:mtaskcont} -\input{results.mtask.tex} +\input{results.mtask} -\chapter{Conclusion \& Discussion}\label{chp:conclusion} -\input{conclusion.tex} +\chapter{iTasks}\label{chp:itasksint} +\input{results.itasks} -\appendix\label{chp:appendix} +\chapter{Conclusion \& Discussion}\label{chp:conclusion} +\input{conclusion} -\chapter{Planning}\label{app:planning} -\input{appendix-planning.tex} +\appendix% +\label{chp:appendix} \chapter{Communication protocol}\label{app:communication-protocol} -\input{appendix-protocol.tex} +\input{appendix-protocol} \chapter{Device client interface}\label{app:device-interface} -\input{appendix-device-interface.tex} +\input{appendix-device-interface} \cleardoublepage{} \phantomsection{} -\addcontentsline{toc}{chapter}{Lists of \ldots} -\begingroup -\let\clearpage\relax -\listoffigures -\listoftables -\lstlistoflistings{} -\endgroup +\addcontentsline{toc}{chapter}{Bibliography} +\bibliographystyle{ieeetr} +\bibliography{thesis} \cleardoublepage{} -\addcontentsline{toc}{chapter}{Glossaries \& Acronyms} - +\phantomsection{} +\addcontentsline{toc}{chapter}{Lists of \ldots} \begingroup \let\clearpage\relax \let\cleardoublepage\relax -\printglossaries% +\listoffigures% +\listoftables% +\lstlistoflistings% +\listofalgorithms% \endgroup -\bibliographystyle{ieeetr} -\bibliography{thesis} +\printindex + \end{document}