mirror of
https://github.com/ganelson/inform.git
synced 2024-07-05 16:44:21 +03:00
88 lines
3.9 KiB
HTML
88 lines
3.9 KiB
HTML
<html>
|
|
<head>
|
|
<title>words </title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="Content-Language" content="en-gb">
|
|
<link href="inweb.css" rel="stylesheet" rev="stylesheet" type="text/css">
|
|
</head>
|
|
|
|
<body>
|
|
<ul class="crumbs"><li><a href="../webs.html">★</a></li><li><b>words </b></li></ul>
|
|
<p class="purpose">A library of code for reading natural language into a stream of words.</p>
|
|
<hr>
|
|
<ul class="chapterlist">
|
|
<li>
|
|
<p><a name="1"></a><spon class="chaptertitle">Chapter 1: Setting Up</span></p>
|
|
<p><span class="purpose">Building on the foundation module.</span></p>
|
|
<ul class="sectionlist">
|
|
<li>
|
|
<p><a href="1-wm.html"><spon class="sectiontitle">Words Module</span></a> -
|
|
<span class="purpose">Setting up the use of this module.</span></p>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><a name="2"></a><spon class="chaptertitle">Chapter 2: Words in Isolation</span></p>
|
|
<p><span class="purpose">Recognising different words, and storing phrases made of them.</span></p>
|
|
<ul class="sectionlist">
|
|
<li>
|
|
<p><a href="2-vcb.html"><spon class="sectiontitle">Vocabulary</span></a> -
|
|
<span class="purpose">To classify the words in the lexical stream, where two different words are considered equivalent if they are unquoted and have the same text, taken case insensitively.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="2-wa.html"><spon class="sectiontitle">Word Assemblages</span></a> -
|
|
<span class="purpose">To manage arbitrary assemblies of vocabulary, if a little slowly.</span></p>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><a name="3"></a><spon class="chaptertitle">Chapter 3: Words in Sequence</span></p>
|
|
<p><span class="purpose">Reading in arbitrary text and breaking it into a numbered sequence of words.</span></p>
|
|
<ul class="sectionlist">
|
|
<li>
|
|
<p><a href="3-lxr.html"><spon class="sectiontitle">Lexer</span></a> -
|
|
<span class="purpose">To break down a stream of characters into a numbered sequence of words, literal strings and literal I6 inclusions, removing comments and unnecessary whitespace.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="3-wrd.html"><spon class="sectiontitle">Wordings</span></a> -
|
|
<span class="purpose">To manage contiguous word ranges.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="3-tff.html"><spon class="sectiontitle">Text From Files</span></a> -
|
|
<span class="purpose">This is where source text is read in, whether from extension files or from the main source text file, and fed into the lexer.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="3-fds.html"><spon class="sectiontitle">Feeds</span></a> -
|
|
<span class="purpose">Feeds are conduits for arbitrary text to flow into the lexer, and to be converted into wordings.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="3-idn.html"><spon class="sectiontitle">Identifiers</span></a> -
|
|
<span class="purpose">To represent snippets of natural language in identifier form, which a typical C-like compiler would accept.</span></p>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><a name="4"></a><spon class="chaptertitle">Chapter 4: Parsing</span></p>
|
|
<p><span class="purpose"></span></p>
|
|
<ul class="sectionlist">
|
|
<li>
|
|
<p><a href="4-nw.html"><spon class="sectiontitle">Numbered Words</span></a> -
|
|
<span class="purpose">Some utilities for handling single words referred to by number.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="4-prf.html"><spon class="sectiontitle">Preform</span></a> -
|
|
<span class="purpose">To read in structural definitions of natural language written in a meta-language called Preform.</span></p>
|
|
</li>
|
|
<li>
|
|
<p><a href="4-bn.html"><spon class="sectiontitle">Basic Nonterminals</span></a> -
|
|
<span class="purpose">A handful of bare minimum Preform syntax.</span></p>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
</body>
|
|
|
|
</html>
|
|
|