1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-06-26 04:00:43 +03:00

Added gloss

This commit is contained in:
Graham Nelson 2021-07-26 00:38:28 +01:00
parent d6cb4311a9
commit 97678a04b9
3 changed files with 31 additions and 12 deletions

View file

@ -64,7 +64,7 @@
<ul class="crumbs"><li><a href="../index.html">Home</a></li><li><a href="../compiler.html">Services</a></li><li><a href="index.html">html</a></li><li><a href="index.html#P">Preliminaries</a></li><li><b>What This Module Does</b></li></ul></div>
<p class="purpose">An overview of the html module's role and abilities.</p>
<ul class="toc"><li><a href="P-wtmd.html#SP1">&#167;1. Prerequisites</a></li><li><a href="P-wtmd.html#SP2">&#167;2. Purpose</a></li><li><a href="P-wtmd.html#SP3">&#167;3. Custom HTML link protocols</a></li></ul><hr class="tocbar">
<ul class="toc"><li><a href="P-wtmd.html#SP1">&#167;1. Prerequisites</a></li><li><a href="P-wtmd.html#SP2">&#167;2. Purpose</a></li><li><a href="P-wtmd.html#SP3">&#167;3. Custom HTML link protocols</a></li><li><a href="P-wtmd.html#SP5">&#167;5. Localisation</a></li></ul><hr class="tocbar">
<p class="commentary firstcommentary"><a id="SP1" class="paragraph-anchor"></a><b>&#167;1. Prerequisites. </b>The html module is a part of the Inform compiler toolset. It is
presented as a literate program or "web". Before diving in:
@ -143,6 +143,16 @@ new extensions. If no file was found, the link should simply do nothing:
the application is required not to produce a 404 error page, or to
blank out the page currently showing.
</li></ul>
<p class="commentary firstcommentary"><a id="SP5" class="paragraph-anchor"></a><b>&#167;5. Localisation. </b>This module also contains a very simple system for "localisation" of text,
that is, enabling the user to output text in multiple human languages. (Inform
makes heavy use of this in the Index.) This may not appear at first to have
anything to do with HTML, but in fact we will mainly use it when generating
web pages in the Index, so it has some conveniences for stylistic markup as well.
</p>
<p class="commentary">See <a href="2-lcl.html" class="internal">Localisation</a> for details.
</p>
<nav role="progress"><div class="progresscontainer">
<ul class="progressbar"><li class="progressprevoff">&#10094;</li><li class="progresscurrentchapter">P</li><li class="progresscurrent">wtmd</li><li class="progresssection"><a href="P-htitm.html">htitm</a></li><li class="progresschapter"><a href="1-hm.html">1</a></li><li class="progresschapter"><a href="2-sl.html">2</a></li><li class="progressnext"><a href="P-htitm.html">&#10095;</a></li></ul></div>
</nav><!--End of weave-->

View file

@ -1,9 +1,9 @@
100.0% in inform7 run
55.4% in compilation to Inter
39.5% in //Sequence::undertake_queued_tasks//
55.8% in compilation to Inter
39.8% in //Sequence::undertake_queued_tasks//
3.5% in //MajorNodes::pre_pass//
2.6% in //MajorNodes::pass_1//
2.1% in //RTPhrasebook::compile_entries//
2.0% in //RTPhrasebook::compile_entries//
1.4% in //ImperativeDefinitions::assess_all//
1.1% in //RTKindConstructors::compile//
0.4% in //ImperativeDefinitions::compile_first_block//
@ -11,17 +11,17 @@
0.4% in //Sequence::undertake_queued_tasks//
0.4% in //Sequence::undertake_queued_tasks//
0.4% in //World::stage_V//
0.2% in //CompletionModule::compile//
0.1% in //CompletionModule::compile//
0.1% in //InferenceSubjects::emit_all//
0.1% in //RTKindConstructors::compile_permissions//
0.1% in //Task::make_built_in_kind_constructors//
0.1% in //World::stages_II_and_III//
1.8% not specifically accounted for
42.6% in running Inter pipeline
11.2% in step preparation
10.2% in inter step 7/14: consolidate-text
8.2% in inter step 2/14: link
7.0% in inter step 14/14: generate inform6 -> auto.inf
2.0% not specifically accounted for
42.2% in running Inter pipeline
11.3% in step preparation
9.9% in inter step 7/14: consolidate-text
8.1% in inter step 2/14: link
6.9% in inter step 14/14: generate inform6 -> auto.inf
1.6% in inter step 10/14: make-identifiers-unique
0.4% in inter step 11/14: reconcile-verbs
0.2% in inter step 13/14: eliminate-redundant-operations
@ -31,6 +31,6 @@
0.1% in inter step 12/14: eliminate-redundant-labels
0.1% in inter step 4/14: parse-linked-matter
0.1% in inter step 5/14: resolve-conditional-compilation
2.2% not specifically accounted for
2.1% not specifically accounted for
1.7% in supervisor
0.2% not specifically accounted for

View file

@ -73,3 +73,12 @@ external resources area -- that is, the place to which the app is installing
new extensions. If no file was found, the link should simply do nothing:
the application is required not to produce a 404 error page, or to
blank out the page currently showing.
@h Localisation.
This module also contains a very simple system for "localisation" of text,
that is, enabling the user to output text in multiple human languages. (Inform
makes heavy use of this in the Index.) This may not appear at first to have
anything to do with HTML, but in fact we will mainly use it when generating
web pages in the Index, so it has some conveniences for stylistic markup as well.
See //Localisation// for details.