Skip to content

Commit 1e08f29

Browse files
committed
Upload notes
1 parent 9116640 commit 1e08f29

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

notes.html

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
44
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
55
<head>
6-
<!-- 2016-04-27 Wed 22:17 -->
6+
<!-- 2016-04-27 Wed 22:29 -->
77
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
88
<meta name="viewport" content="width=device-width, initial-scale=1" />
99
<title>Research Report Notes</title>
@@ -188,7 +188,7 @@ <h2>Table of Contents</h2>
188188
</li>
189189
<li><a href="#sec-term-rewrite">2.3. Term Rewriting and Program Transformation</a>
190190
<ul>
191-
<li><a href="#orgheadline8">2.3.1. Rewrite rules</a></li>
191+
<li><a href="#orgheadline8">2.3.1. Term rewrite rules</a></li>
192192
<li><a href="#orgheadline9">2.3.2. Strategies</a></li>
193193
</ul>
194194
</li>
@@ -316,7 +316,8 @@ <h4 id="orgheadline4"><span class="section-number-4">2.2.1</span> Declarative st
316316
(which will be discussed in <a href="#sec-term-rewrite">Term Rewriting</a>). Nowadays, two high-level
317317
DSLs exist for specifying static semantic declaratively: NaBL and
318318
TS. The two DSLs can work together: for instance, the type of a
319-
variable can be set in NaBL, so that TS can make assertions on it.
319+
variable can be set with NaBL, so that TS can be used to make
320+
assertions on the type of that variable.
320321
</p>
321322
</div>
322323
</div>
@@ -416,13 +417,13 @@ <h3 id="sec-term-rewrite"><a id="orgheadline10"></a><span class="section-number-
416417
</p>
417418
</div>
418419
<div id="outline-container-orgheadline8" class="outline-4">
419-
<h4 id="orgheadline8"><span class="section-number-4">2.3.1</span> Rewrite rules</h4>
420+
<h4 id="orgheadline8"><span class="section-number-4">2.3.1</span> Term rewrite rules</h4>
420421
<div class="outline-text-4" id="text-2-3-1">
421422
<p>
422-
A rewrite rule is a transformation on a term, in which
423-
the left-hand side allows for pattern matching and variable binding,
424-
and the right hand side instantiates new replacement terms. An example
425-
of a rewrite rule is given below.
423+
A rewrite rule is a transformation on a term, in which the left-hand
424+
side allows for pattern matching and variable binding, and the right
425+
hand side instantiates new replacement terms. An example of a rewrite
426+
rule is given below.
426427
</p>
427428
<pre class="example">
428429
rules
@@ -457,9 +458,9 @@ <h4 id="orgheadline9"><span class="section-number-4">2.3.2</span> Strategies</h4
457458
resugar
458459
</pre>
459460
<p>
460-
For example, <code>innermost</code> is a strategy to apply the strategy given as
461-
parameter (a composition of rewrite rules) on the innermost AST node,
462-
and repeats this until the strategy is no longer applicable<sup><a id="fnr.2" class="footref" href="#fn.2">2</a></sup>.
461+
For example, the strategy <code>innermost</code> is used to apply the strategy
462+
given as parameter (a composition of rewrite rules) in a specific
463+
traversal order on the AST nodes.
463464
</p>
464465
</div>
465466
</div>
@@ -753,15 +754,12 @@ <h2 class="footnotes">Footnotes: </h2>
753754
the TU Delft. The slides of this portion of the course can be found
754755
here: <a href="http://tudelft-in4303.github.io/lectures/specification/">http://tudelft-in4303.github.io/lectures/specification/</a>.</div></div>
755756

756-
<div class="footdef"><sup><a id="fn.2" class="footnum" href="#fnr.2">2</a></sup> <div class="footpara">Is
757-
this correct?</div></div>
758-
759757

760758
</div>
761759
</div></div>
762760
<div id="postamble" class="status">
763761
<p class="author">Author: Skip Lentz</p>
764-
<p class="date">Created: 2016-04-27 Wed 22:17</p>
762+
<p class="date">Created: 2016-04-27 Wed 22:29</p>
765763
<p class="validation"><a href="http://validator.w3.org/check?uri=referer">Validate</a></p>
766764
</div>
767765
</body>

0 commit comments

Comments
 (0)