You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In _[§7.1. Grammar Definition]_, where [dynamic grammars are being discussed][dyngramm1], the following TIP admonition block was added:
258
+
259
+
> For more details on dynamic grammars, see the [_Grammar_ chapter in _Book II_][dyngramm2].
260
+
261
+
Because dynamic grammars are only briefly mentioned in the book, custom anchors were added in the only two places where they are discussed, along with a side note cross-referencing them to each other.
262
+
263
+
For the other added cross reference, see the changes in [17. Grammar](#17-grammar).
264
+
265
+
(See [Issue #48])
266
+
243
267
### 9. The Game Loop
244
268
245
269
List of changes to Chapter [9. _The Game Loop_][Ch9].
In Chapter [17. _Grammar_][Ch17], where [dynamic grammars are being discussed][dyngramm2], the following note within parenthesis was added:
476
+
477
+
> (See also [_Book I_ on dynamic grammars][dyngramm1].)
478
+
479
+
Because dynamic grammars are only briefly mentioned in the book, custom anchors were added in the only two places where they are discussed, along with a side note cross-referencing them to each other.
480
+
481
+
For the other added cross reference, see the changes in [7.1. Grammar Definition](#71-grammar-definition).
@@ -438,35 +506,45 @@ In the definition of `print`, after the `print <output>` syntax:
438
506
[Issue #30]: https://github.com/tajmone/hugo-book/issues/30 "View Issue #30 regarding this text amendment"
439
507
[Issue #36]: https://github.com/tajmone/hugo-book/issues/36 "View Issue #36 regarding this text amendment"
440
508
[Issue #38]: https://github.com/tajmone/hugo-book/issues/38 "View Issue #38 regarding this text amendment"
509
+
[Issue #47]: https://github.com/tajmone/hugo-book/issues/47 "View Issue #47 regarding this text amendment"
510
+
[Issue #48]: https://github.com/tajmone/hugo-book/issues/48 "View Issue #48 regarding this text amendment"
441
511
442
512
<!-- Live HTML Links -->
443
513
444
514
[Book1]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#book1 "Jump to Live HTML Preview of: Book I"
445
-
446
515
[Ch1]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_1 "Jump to Live HTML Preview of: Book I » 1. INTRODUCTION"
447
516
[Ch2]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_2 "Jump to Live HTML Preview of: Book I » 2. A FIRST LOOK AT HUGO"
448
517
[Ch3]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_3 "Jump to Live HTML Preview of: Book I » 3. OBJECTS"
449
518
[Ch4]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_4 "Jump to Live HTML Preview of: Book I » 4. HUGO PROGRAMMING"
450
519
[Ch5]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_5 "Jump to Live HTML Preview of: Book I » 5. ROUTINES AND EVENTS"
451
520
[Ch6]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_6 "Jump to Live HTML Preview of: Book I » 6. FUSES, DAEMONS, AND SCRIPTS"
521
+
[Ch7]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_7 "Jump to Live HTML Preview of: Book I » 7. GRAMMAR AND PARSING"
452
522
[Ch9]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_9 "Jump to Live HTML Preview of: Book I » 9. THE GAME LOOP"
453
523
[Ch10]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_10 "Jump to Live HTML Preview of: Book I » 10. USING THE OBJECT LIBRARY"
454
524
[Ch12]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_12 "Jump to Live HTML Preview of: Book I » 12. RESOURCES"
455
525
[AppA]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#appendix_a "Jump to Live HTML Preview of: Book I » Appendix A: SUMMARY OF KEYWORDS AND COMMANDS"
526
+
[AppB]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#appendix_b "Jump to Live HTML Preview of: Book I » Appendix A: SUMMARY OF KEYWORDS AND COMMANDS"
527
+
528
+
[Book2]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#book2 "Jump to Live HTML Preview of: Book II"
529
+
[Ch17]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#chapter_17 "Jump to Live HTML Preview of: Book II » 17. GRAMMAR"
530
+
456
531
457
532
[§1.5. Packing List]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_1-5 "Live HTML Preview"
458
533
[§1.10. Limit Settings]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_1-10 "Live HTML Preview"
459
534
[§2.4. Multiple Lines]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_2-4 "Live HTML Preview"
460
535
[§4.8. What Should I Be Able to Do Now?]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_4-8 "Live HTML Preview"
461
536
[§5.3. Before And After Routines]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_5-3 "Live HTML Preview"
537
+
[§7.1. Grammar Definition]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_7-1 "Live HTML Preview"
462
538
[§9.2. What Should I Be Able to Do Now?]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_9-2 "Live HTML Preview"
463
539
[§10.5. Doors]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_10-5 "Live HTML Preview"
464
540
[§10.6. Vehicles]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_10-6 "Live HTML Preview"
465
541
[§12.2. Pictures]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_12-2 "Live HTML Preview"
466
542
[§12.3. Sound and Music]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_12-3 "Live HTML Preview"
543
+
[§B.7. _Utility Routines, Etc._]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#sec_b-7 "Live HTML Preview"
467
544
468
545
[Sec. 4.3]: http://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#hugolib-colors "Live HTML Preview"
469
546
470
-
547
+
[dyngramm1]: https://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#dynamic-grammars1 "Live HTML Preview"
548
+
[dyngramm2]: https://htmlpreview.github.io/?https://github.com/tajmone/hugo-book/blob/draft/hugo-book.html#dynamic-grammars2 "Live HTML Preview"
Copy file name to clipboardexpand all lines: docs_src/hugo-book1_07.asciidoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ which will have the effect of, instead of defining the verb with a dictionary wo
75
75
What this allows is for the `some_object.noun` property to be a routine that can return varying values at runtime in order to provide for dynamic grammar, if required.
76
76
However, since this sort of dynamic grammar isn't often required, static grammar definitions are far more common.
Copy file name to clipboardexpand all lines: docs_src/hugo-book2_05.asciidoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,7 @@ The grammar table in this case would look like
57
57
58
58
where $FFFF is the signal that instead of a dictionary word address, the engine must read the following discrete value, where $4A is the `object#` token, and $__x1x2__ is the object number of `get_object`.
59
59
This extension is provided so that grammar may be dynamically coded and changed at runtime.
Copy file name to clipboardexpand all lines: hugo-book.asciidoc
+5-5
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
= The Hugo Book
2
2
Kent Tessman <general@generalcoffee.com>
3
-
:revnumber: 1.0.0-RC2
4
-
:revdate: 2020/01/28
3
+
:revnumber: 1.0.0-RC3
4
+
:revdate: 2020/01/29
5
5
:edition: 1st Ed.
6
6
:editionrev: January 2020
7
7
:revremark: {edition} revised {editionrev}
@@ -5480,7 +5480,7 @@ which will have the effect of, instead of defining the verb with a dictionary wo
5480
5480
What this allows is for the `some_object.noun` property to be a routine that can return varying values at runtime in order to provide for dynamic grammar, if required.
5481
5481
However, since this sort of dynamic grammar isn't often required, static grammar definitions are far more common.
// Reconstucted missing word: "if the given [`word`] is either"
10057
10057
Returns either `adjective` or `noun` (i.e., the property number) if the given `word` is either an adjective or noun of the specified object.
10058
10058
@@ -11658,7 +11658,7 @@ The grammar table in this case would look like
11658
11658
11659
11659
where $FFFF is the signal that instead of a dictionary word address, the engine must read the following discrete value, where $4A is the `object#` token, and $__x1x2__ is the object number of `get_object`.
11660
11660
This extension is provided so that grammar may be dynamically coded and changed at runtime.
0 commit comments