From 53304e3f2d7154b96876a26112c2aeb2c98f318b Mon Sep 17 00:00:00 2001 From: ag-rishi Date: Sat, 3 Feb 2024 14:24:28 -0500 Subject: [PATCH 1/3] changed strange metaphor from Rome to Eiffel Tower --- www/notes/1/what-is-a-compiler.scrbl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/www/notes/1/what-is-a-compiler.scrbl b/www/notes/1/what-is-a-compiler.scrbl index 494e8624..3ec8943c 100644 --- a/www/notes/1/what-is-a-compiler.scrbl +++ b/www/notes/1/what-is-a-compiler.scrbl @@ -144,10 +144,9 @@ See @secref{Syllabus}. Write @emph{a compiler} for @tt{MiniRacket -> x86} -But Rome wasn’t built in a day … and neither is any serious software. +But the Eiffel Tower wasn’t built in a day … and neither is any serious software. @image{img/Eiffel.jpg} -Rome wasn’t built in a day So we will write @emph{many} compilers: From 2f1cec0cf1bc69195f739c316524a1723af81040 Mon Sep 17 00:00:00 2001 From: ag-rishi Date: Sat, 3 Feb 2024 14:29:56 -0500 Subject: [PATCH 2/3] minor spelling error --- www/notes/1/ocaml-to-racket.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/notes/1/ocaml-to-racket.scrbl b/www/notes/1/ocaml-to-racket.scrbl index 348a03b1..898d08e0 100644 --- a/www/notes/1/ocaml-to-racket.scrbl +++ b/www/notes/1/ocaml-to-racket.scrbl @@ -149,7 +149,7 @@ OCaml also has a notation for writing functions: This make an anonymous function that consumes two integers and produces their sum. -To apply it, we can write it justapoxed with arguments: +To apply it, we can write it replaced with arguments: @ocaml-repl{ # (fun x y -> x + y) 3 4;; From 5dd6b4e8ed7a2e2dd036b651195ff5d11f5890d6 Mon Sep 17 00:00:00 2001 From: ag-rishi Date: Sat, 3 Feb 2024 14:43:42 -0500 Subject: [PATCH 3/3] convient to convenient spelling error --- www/notes/1/ocaml-to-racket.scrbl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/notes/1/ocaml-to-racket.scrbl b/www/notes/1/ocaml-to-racket.scrbl index 898d08e0..19f5125f 100644 --- a/www/notes/1/ocaml-to-racket.scrbl +++ b/www/notes/1/ocaml-to-racket.scrbl @@ -660,7 +660,7 @@ It is possible to convert between symbols and strings: (string->symbol "fred") ] -There's also a convient function that produces a symbol that is guaranteed +There's also a convenient function that produces a symbol that is guaranteed to have not been used so far each time you call it: @ex[