updated
authorChristian Urban <urbanc@in.tum.de>
Fri, 10 Apr 2020 12:11:01 +0100
changeset 716 df7d47a507f8
parent 715 06e56c2ce349
child 717 9a431d1eac85
updated
handouts/ho01.tex
handouts/ho04.pdf
handouts/ho04.tex
progs/compile.scala
--- a/handouts/ho01.tex	Sun Mar 22 14:21:33 2020 +0000
+++ b/handouts/ho01.tex	Fri Apr 10 12:11:01 2020 +0100
@@ -37,6 +37,10 @@
 
 %https://www.youtube.com/watch?v=gmhMQfFQu20
 
+% good article how languages have been influenced
+% 10 MOST(LY DEAD) INFLUENTIAL PROGRAMMING LANGUAGES
+% https://www.hillelwayne.com/post/influential-dead-languages/
+
 
 \begin{document}
 \fnote{\copyright{} Christian Urban, King's College London, 2014, 2015, 2016, 2017, 2018, 2019}
Binary file handouts/ho04.pdf has changed
--- a/handouts/ho04.tex	Sun Mar 22 14:21:33 2020 +0000
+++ b/handouts/ho04.tex	Fri Apr 10 12:11:01 2020 +0100
@@ -10,8 +10,8 @@
 
 \section*{Handout 4 (Sulzmann \& Lu Algorithm)}
 
-So far our algorithm based on derivatives was only able to say
-yes or no depending on whether a string was matched by a regular
+So far our algorithm based on derivatives is only able to say
+yes or no depending on whether a string is matched by a regular
 expression or not. Often a more interesting question is to
 find out \emph{how} a regular expression matched a string?
 Answering this question will also help us with the problem we
@@ -86,9 +86,9 @@
 of two component values ($v_1$ and $v_2$).
 
 My implementation of regular expressions and values in Scala is
-shown below. I have in my implementation the convention that
+shown below. I use the convention that
 regular expressions are written entirely with upper-case
-letters, while values just start with a single upper-case
+letters, whereas values start with a single upper-case
 character and the rest are lower-case letters.
  
 {\small\lstinputlisting[language=Scala,numbers=none,linebackgroundcolor=
--- a/progs/compile.scala	Sun Mar 22 14:21:33 2020 +0000
+++ b/progs/compile.scala	Fri Apr 10 12:11:01 2020 +0100
@@ -112,7 +112,7 @@
     def l(args: Any*): String = sc.s(args:_*) ++ ":\n"
 }
 
-// this allows you to write things like
+// this allows us to write things like
 // i"add" and l"Label"