Skip to content

Commit db5477f

Browse files
committed
fix footnote
1 parent e8ed4c8 commit db5477f

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

01_data_structures.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,6 @@ <h2>Reflections on Trusting Trust</h2>
110110
We should be writing basic code, character by character, identical.
111111
Imagine how wonderful it would be if you could understand what someone else wrote.</p>
112112

113-
<p> which can recognize a given regular expression.
114-
See <a href="https://swtch.com/~rsc/regexp/regexp1.html">&ldquo;Regular Expression Matching Can Be Simple And Fast&rdquo;</a>.</p>
115-
116113
<a name="Hello-2c--World"></a>
117114
<h2>Hello, World</h2>
118115

@@ -398,7 +395,8 @@ <h2>Code</h2>
398395
<li id="fn:1">
399396
From the 1980 Turing award lecture <a href="https://www.cs.fsu.edu/~engelen/courses/COP4610/hoare.pdf">&ldquo;The Emperor&rsquo;s New Clothes&rdquo;</a>.<a href="#fnref:1" rev="footnote">&#8617;</a></li>
400397
<li id="fn:2">
401-
Ken&rsquo;s algorithm generates a finite state machine<a href="#fnref:2" rev="footnote">&#8617;</a></li>
398+
Ken&rsquo;s brilliant algorithm is to generate a finite state machine to recognize a given expression.
399+
See <a href="https://swtch.com/~rsc/regexp/regexp1.html">&ldquo;Regular Expression Matching Can Be Simple And Fast&rdquo;</a> or Ken&rsquo;s original paper <a href="papers/regular-expressions.pdf">&ldquo;Regular Expression Search Algorithm&rdquo;</a><a href="#fnref:2" rev="footnote">&#8617;</a></li>
402400
<li id="fn:3">
403401
Alex recommended to me Marvin Minsky&rsquo;s <a href="https://dl.acm.org/doi/book/10.5555/1095587">&ldquo;Computation: Finite and Infinite Machines&rdquo;</a>
404402
to learn more about these topics.

01_data_structures.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,8 @@ Imagine how wonderful it would be if you could understand what someone else wrot
104104

105105
[^hoare-speech]: From the 1980 Turing award lecture ["The Emperor's New Clothes"][hoare-speech].
106106

107-
[^regex-algorithm]: Ken's algorithm generates a finite state machine
108-
which can recognize a given regular expression.
109-
See ["Regular Expression Matching Can Be Simple And Fast"][regex-fast].
107+
[^regex-algorithm]: Ken's brilliant algorithm is to generate a finite state machine to recognize a given expression.
108+
See ["Regular Expression Matching Can Be Simple And Fast"][regex-fast] or Ken's original paper ["Regular Expression Search Algorithm"][regex-paper]
110109

111110
[fortune]: https://en.wikipedia.org/wiki/Fortune_(Unix)
112111
[dennis]: https://en.wikipedia.org/wiki/Dennis_Ritchie
@@ -126,8 +125,8 @@ Imagine how wonderful it would be if you could understand what someone else wrot
126125
[hoare]: https://en.wikipedia.org/wiki/Tony_Hoare
127126
[hoare-speech]: https://www.cs.fsu.edu/~engelen/courses/COP4610/hoare.pdf
128127
[wirth]: https://en.wikipedia.org/wiki/Niklaus_Wirth
129-
130128
[access-types]: http://goanna.cs.rmit.edu.au/dale/ada/aln/13_access_types.html
129+
[regex-paper]: papers/regular-expressions.pdf
131130

132131
## Hello, World
133132

papers/regular-expressions.pdf

517 KB
Binary file not shown.

0 commit comments

Comments
 (0)