hws/hw08.tex
author Christian Urban <urbanc@in.tum.de>
Wed, 15 Nov 2017 08:12:03 +0000
changeset 535 095be64c03c1
parent 530 cec95ad3a837
child 577 7a437f1f689d
permissions -rw-r--r--
updated

\documentclass{article}
\usepackage{../style}
\usepackage{../graphics}

\begin{document}

\section*{Homework 8}

\HEADER

\begin{enumerate}
\item Write a program in the WHILE-language that calculates
      the factorial function.

\item What optimisations could a compiler perform when
      compiling a WHILE-program?

\item What is the main difference between the Java assembler
      (as processed by Jasmin) and Java Byte Code?

\item Parser combinators can directly be given a string as
      input, without the need of a lexer. What are the
      advantages to first lex a string and then feed a
      sequence of tokens as input to the parser?

\item Explain what is meant by the terms lazy evaluation and eager
      evaluation.
\end{enumerate}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: