1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-08 18:14:21 +03:00
inform7/docs/values-module/index.html
2021-02-05 15:15:38 +00:00

276 lines
13 KiB
HTML

<html>
<head>
<title>values</title>
<link href="../docs-assets/Breadcrumbs.css" rel="stylesheet" rev="stylesheet" type="text/css">
<meta name="viewport" content="width=device-width initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="Content-Language" content="en-gb">
<link href="../docs-assets/Contents.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Progress.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Navigation.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Fonts.css" rel="stylesheet" rev="stylesheet" type="text/css">
<link href="../docs-assets/Base.css" rel="stylesheet" rev="stylesheet" type="text/css">
</head>
<body class="commentary-font">
<nav role="navigation">
<h1><a href="../index.html">
<img src="../docs-assets/Inform.png" height=72">
</a></h1>
<ul><li><a href="../compiler.html">compiler tools</a></li>
<li><a href="../other.html">other tools</a></li>
<li><a href="../extensions.html">extensions and kits</a></li>
<li><a href="../units.html">unit test tools</a></li>
</ul><h2>Compiler Webs</h2><ul>
<li><a href="../inbuild/index.html">inbuild</a></li>
<li><a href="../inform7/index.html">inform7</a></li>
<li><a href="../inter/index.html">inter</a></li>
</ul><h2>Inbuild Modules</h2><ul>
<li><a href="../supervisor-module/index.html">supervisor</a></li>
</ul><h2>Inform7 Modules</h2><ul>
<li><a href="../core-module/index.html">core</a></li>
<li><a href="../assertions-module/index.html">assertions</a></li>
<li><span class="unlink">values</span></li>
<li><a href="../knowledge-module/index.html">knowledge</a></li>
<li><a href="../imperative-module/index.html">imperative</a></li>
<li><a href="../runtime-module/index.html">runtime</a></li>
<li><a href="../if-module/index.html">if</a></li>
<li><a href="../multimedia-module/index.html">multimedia</a></li>
<li><a href="../index-module/index.html">index</a></li>
</ul><h2>Inter Modules</h2><ul>
<li><a href="../bytecode-module/index.html">bytecode</a></li>
<li><a href="../building-module/index.html">building</a></li>
<li><a href="../codegen-module/index.html">codegen</a></li>
</ul><h2>Services</h2><ul>
<li><a href="../arch-module/index.html">arch</a></li>
<li><a href="../calculus-module/index.html">calculus</a></li>
<li><a href="../html-module/index.html">html</a></li>
<li><a href="../inflections-module/index.html">inflections</a></li>
<li><a href="../kinds-module/index.html">kinds</a></li>
<li><a href="../linguistics-module/index.html">linguistics</a></li>
<li><a href="../problems-module/index.html">problems</a></li>
<li><a href="../syntax-module/index.html">syntax</a></li>
<li><a href="../words-module/index.html">words</a></li>
<li><a href="../../../inweb/docs/foundation-module/index.html">foundation</a></li>
</ul>
</nav>
<main role="main">
<ul class="crumbs"><li><a href="../index.html">Home</a></li><li><a href="../compiler.html">Inform7</a></li><li><b>values</b></li></ul>
<p class="purpose">Representing and parsing values, descriptions and specifications. This is version 1.</p>
<hr>
<div class="contentspage">
<ul class="chapterlist">
<li>
<p class="chapterentry"><a name="P"></a>
<span class="chaptertitle">Preliminaries</span></p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="P-wtmd.html">
<spon class="sectiontitle">What This Module Does</span></a> -
<span class="sectionpurpose">An overview of the values module's role and abilities.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="1"></a>
<span class="chaptertitle">Chapter 1: Configuration and Control</span></p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="1-vm.html">
<spon class="sectiontitle">Values Module</span></a> -
<span class="sectionpurpose">Setting up the use of this module.</span></p>
</li>
<li>
<p class="sectionentry"><a href="1-mc.html">
<spon class="sectiontitle">Meaning Codes</span></a> -
<span class="sectionpurpose">The set of meaning codes used when Inform runs the excerpt parser.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="2"></a>
<span class="chaptertitle">Chapter 2: Specifications</span></p>
<p class="chapterpurpose">In which the meanings of excerpts are systematically catalogued according to what they specify; a categorisation much broader than working out kinds of value, since it applies to a much broader range of excerpts than values.</p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="2-spc.html">
<spon class="sectiontitle">Specifications</span></a> -
<span class="sectionpurpose">To create, manage and compare specifications.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-rvl.html">
<spon class="sectiontitle">RValues</span></a> -
<span class="sectionpurpose">Utility functions for specifications representing rvalues.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-lvl.html">
<spon class="sectiontitle">Lvalues</span></a> -
<span class="sectionpurpose">Utility functions for specifications representing lvalues, that is, storage locations for values at run-time.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-cnd.html">
<spon class="sectiontitle">Conditions</span></a> -
<span class="sectionpurpose">Utility functions for condition nodes.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-dsc.html">
<spon class="sectiontitle">Descriptions</span></a> -
<span class="sectionpurpose">Description nodes represent text such as "even numbers", which can either define a set of values or a predicate on them.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-dsh.html">
<spon class="sectiontitle">Dash</span></a> -
<span class="sectionpurpose">Dash is the part of Inform most nearly like a typechecker in a conventional compiler.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="3"></a>
<span class="chaptertitle">Chapter 3: Nouns</span></p>
<p class="chapterpurpose">Nouns, mainly proper, and notations for constant values such as 10:03 AM, six, 34 kg, and so on.</p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="3-lp.html">
<spon class="sectiontitle">Literal Patterns</span></a> -
<span class="sectionpurpose">To manage the possible notations with which literal values can be written.</span></p>
</li>
<li>
<p class="sectionentry"><a href="3-tod.html">
<spon class="sectiontitle">Times of Day</span></a> -
<span class="sectionpurpose">To make a built-in kind of value for times of day, such as "11:22 AM".</span></p>
</li>
<li>
<p class="sectionentry"><a href="3-ul.html">
<spon class="sectiontitle">Unicode Literals</span></a> -
<span class="sectionpurpose">To manage the names assigned to Unicode character values.</span></p>
</li>
<li>
<p class="sectionentry"><a href="3-un.html">
<spon class="sectiontitle">Using Nametags</span></a> -
<span class="sectionpurpose">Nametags provide for a more contextual parsing of nouns, allowing them to be given in an inexact verbal form.</span></p>
</li>
<li>
<p class="sectionentry"><a href="3-ins.html">
<spon class="sectiontitle">Instances</span></a> -
<span class="sectionpurpose">To manage constant values of enumerated kinds, including kinds of object.</span></p>
</li>
<li>
<p class="sectionentry"><a href="3-nv.html">
<spon class="sectiontitle">Nonlocal Variables</span></a> -
<span class="sectionpurpose">To manage variables whose scope is wider than the current rule.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="4"></a>
<span class="chaptertitle">Chapter 4: The S-Parser</span></p>
<p class="chapterpurpose">In which the S-parser is put to work: excerpts of several words at a time are assigned meanings, and compound statements formed of these are parsed, producing lists of possible interpretations.</p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="4-its.html">
<spon class="sectiontitle">Introduction to Semantics</span></a> -
<span class="sectionpurpose">A general introduction to the S-parser and the data structures it makes use of.</span></p>
</li>
<li>
<p class="sectionentry"><a href="4-aots.html">
<spon class="sectiontitle">Architecture of the S-Parser</span></a> -
<span class="sectionpurpose">Top-level structure of the S-parser, which turns text into S-nodes.</span></p>
</li>
<li>
<p class="sectionentry"><a href="4-pl.html">
<spon class="sectiontitle">Parse Literals</span></a> -
<span class="sectionpurpose">To decide if an excerpt of text is a value referred to notationally rather than by name.</span></p>
</li>
<li>
<p class="sectionentry"><a href="4-cad.html">
<spon class="sectiontitle">Constants and Descriptions</span></a> -
<span class="sectionpurpose">To parse noun phrases in constant contexts, which specify values either explicitly or by describing them more or less vaguely.</span></p>
</li>
<li>
<p class="sectionentry"><a href="4-teav.html">
<spon class="sectiontitle">Type Expressions and Values</span></a> -
<span class="sectionpurpose">To parse two forms of noun: a noun phrase in a sentence, and a description of what text can be written in a given situation.</span></p>
</li>
<li>
<p class="sectionentry"><a href="4-varc.html">
<spon class="sectiontitle">Verbal and Relative Clauses</span></a> -
<span class="sectionpurpose">To break down an excerpt into NP and VP-like clauses, perhaps with a primary verb (to make a sentence), perhaps only a relative clause (to make a more complex NP).</span></p>
</li>
<li>
<p class="sectionentry"><a href="4-cap.html">
<spon class="sectiontitle">Conditions and Phrases</span></a> -
<span class="sectionpurpose">To parse the text of To... phrases, say phrases and conditions.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="5"></a>
<span class="chaptertitle">Chapter 5: Text Data</span></p>
<p class="chapterpurpose">Text literals, which may be constant strings, or may be functions in order to implement substitutions.</p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="5-tl.html">
<spon class="sectiontitle">Text Literals</span></a> -
<span class="sectionpurpose">In this section we compile text constants.</span></p>
</li>
<li>
<p class="sectionentry"><a href="5-ts.html">
<spon class="sectiontitle">Text Substitutions</span></a> -
<span class="sectionpurpose">In this section we compile text with substitutions.</span></p>
</li>
<li>
<p class="sectionentry"><a href="5-rsp.html">
<spon class="sectiontitle">Responses</span></a> -
<span class="sectionpurpose">In this section we keep track of response texts.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="6"></a>
<span class="chaptertitle">Chapter 6: Lists and Tables</span></p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="6-lc.html">
<spon class="sectiontitle">List Constants</span></a> -
<span class="sectionpurpose">In this section we compile I6 arrays for constant lists arising from braced literals.</span></p>
</li>
<li>
<p class="sectionentry"><a href="6-tc.html">
<spon class="sectiontitle">Table Columns</span></a> -
<span class="sectionpurpose">To manage the named columns which appear in tables.</span></p>
</li>
<li>
<p class="sectionentry"><a href="6-tbl.html">
<spon class="sectiontitle">Tables</span></a> -
<span class="sectionpurpose">To manage and compile tables, which are two-dimensional arrays with associative look-up facilities provided at run-time.</span></p>
</li>
<li>
<p class="sectionentry"><a href="6-lr.html">
<spon class="sectiontitle">Listed-In Relations</span></a> -
<span class="sectionpurpose">To define the binary predicates corresponding to table columns, and which determine whether a given value is listed in that column.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="7"></a>
<span class="chaptertitle">Chapter 7: Equations</span></p>
<p class="chapterpurpose">Simple mathematical or scientific equations, which can be solved at run-time.</p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="7-eqt.html">
<spon class="sectiontitle">Equations</span></a> -
<span class="sectionpurpose">To manage and compile equations, which relate numerical quantities.</span></p>
</li>
</ul>
</li>
</ul>
</div>
<hr>
<p class="purpose">Powered by <a href="https://github.com/ganelson/inweb">Inweb</a>.</p>
</main>
</body>
</html>