Skip to content

Commit ee79d2e

Browse files
committed
Integrate proofreading for Chapter 11
1 parent 45c6c17 commit ee79d2e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

11_language.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ express any computation you can think of. It will also allow simple
4444
== Parsing ==
4545

4646
(((parsing)))(((validation)))The most immediately visible part of a
47-
programming language is its _((syntax))_, or notation. A parser is a
47+
programming language is its _((syntax))_, or notation. A _parser_ is a
4848
program that reads a piece of text and produces a data structure that
4949
reflects the structure of the program contained in that text. If the
5050
text does not form a valid program, the parser should complain and
@@ -323,7 +323,7 @@ link:11_language.html#egg_fun[later], when the special form called
323323
(((readability)))(((evaluate
324324
function)))(((recursion)))(((parsing)))The recursive structure of
325325
`evaluate` resembles the similar structure of the parser. Both mirror
326-
the structure of the language itself. It would also be possible
326+
the structure of the language itself. It would also be possible to
327327
integrate the parser with the evaluator and evaluate during parsing,
328328
but splitting them up this way makes the program more readable.
329329

@@ -438,7 +438,7 @@ represent the ((global scope)).
438438

439439
To be able to use the `if` construct we just defined, we must
440440
have access to ((Boolean)) values. Since there are only two
441-
boolean values, we do not need special syntax for them. We simply bind
441+
Boolean values, we do not need special syntax for them. We simply bind
442442
two variables to the values `true` and `false` and use those.
443443

444444
// include_code
@@ -764,8 +764,8 @@ more work).
764764

765765
(((hash character)))(((Egg language)))It would be nice if we could
766766
write ((comment))s in Egg. For example, whenever we find a hash sign
767-
(“#”), we could treat the rest of the line as a comment and ignore it,
768-
similar to “++//++” in JavaScript.
767+
(`#`), we could treat the rest of the line as a comment and ignore it,
768+
similar to `//` in JavaScript.
769769

770770
(((skipSpace function)))We do not have to make any big changes to the
771771
parser to support this. We can simply change `skipSpace` to skip

0 commit comments

Comments
 (0)