1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-06-01 07:48:35 +03:00
inform7/docs/syntax-module/index.html
2022-04-18 15:46:46 +01:00

135 lines
5.9 KiB
HTML

<html>
<head>
<title>syntax</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="../index.html">home</a></li>
</ul><h2>Compiler</h2><ul>
<li><a href="../structure.html">structure</a></li>
<li><a href="../inbuildn.html">inbuild</a></li>
<li><a href="../inform7n.html">inform7</a></li>
<li><a href="../intern.html">inter</a></li>
<li><a href="../services.html">services</a></li>
<li><a href="../secrets.html">secrets</a></li>
</ul><h2>Other Tools</h2><ul>
<li><a href="../inblorbn.html">inblorb</a></li>
<li><a href="../indocn.html">indoc</a></li>
<li><a href="../inform6.html">inform6</a></li>
<li><a href="../inpolicyn.html">inpolicy</a></li>
<li><a href="../inrtpsn.html">inrtps</a></li>
</ul><h2>Resources</h2><ul>
<li><a href="../extensions.html">extensions</a></li>
<li><a href="../kits.html">kits</a></li>
</ul><h2>Repository</h2><ul>
<li><a href="https://github.com/ganelson/inform"><img src="../docs-assets/github.png" height=18> github</a></li>
</ul><h2>Related Projects</h2><ul>
<li><a href="../../../inweb/docs/index.html">inweb</a></li>
<li><a href="../../../intest/docs/index.html">intest</a></li>
</ul>
</nav>
<main role="main">
<ul class="crumbs"><li><a href="../index.html">Home</a></li><li><a href="../services.html">Services</a></li><li><b>syntax</b></li></ul>
<p class="purpose">A library of code to build a parse tree and break text into sentences. 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 syntax module's role and abilities.</span></p>
</li>
<li>
<p class="sectionentry"><a href="P-htitm.html">
<spon class="sectiontitle">How To Include This Module</span></a> -
<span class="sectionpurpose">What to do to make use of the syntax module in a new command-line tool.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="1"></a>
<span class="chaptertitle">Chapter 1: Setting Up</span></p>
<p class="chapterpurpose">Loading this module.</p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="1-sm.html">
<spon class="sectiontitle">Syntax Module</span></a> -
<span class="sectionpurpose">Setting up the use of this module.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="2"></a>
<span class="chaptertitle">Chapter 2: The Parse Tree</span></p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="2-st.html">
<spon class="sectiontitle">Syntax Trees</span></a> -
<span class="sectionpurpose">To parse trees which decompose the meaning of excerpts of text, and which allow annotations to be made at each node.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-nt.html">
<spon class="sectiontitle">Node Types</span></a> -
<span class="sectionpurpose">Each node in a syntax tree has a type, which informs whether it can have child nodes, and what in general terms it means.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-pn.html">
<spon class="sectiontitle">Parse Nodes</span></a> -
<span class="sectionpurpose">Syntax trees are made of single nodes, each representing one way to understand a given piece of text.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-na.html">
<spon class="sectiontitle">Node Annotations</span></a> -
<span class="sectionpurpose">Attaching general-purpose data to nodes in the syntax tree.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-tv.html">
<spon class="sectiontitle">Tree Verification</span></a> -
<span class="sectionpurpose">Did we go wrong anywhere? This section is purely defensive, and tests whether Inform contains bugs of a kind which lead to malformed syntax trees: that should never happen even if the source text being compiled is a dumpster fire.</span></p>
</li>
<li>
<p class="sectionentry"><a href="2-spc.html">
<spon class="sectiontitle">Simple Preform Cache</span></a> -
<span class="sectionpurpose">A simple way to speed up repeated Preform parses of the same text.</span></p>
</li>
</ul>
</li>
<li>
<p class="chapterentry"><a name="3"></a>
<span class="chaptertitle">Chapter 3: Breaking into Sentences</span></p>
<ul class="sectionlist">
<li>
<p class="sectionentry"><a href="3-snt.html">
<spon class="sectiontitle">Sentences</span></a> -
<span class="sectionpurpose">To break up the stream of words produced by the lexer into English sentences, and join each to the parse tree.</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>