summaryrefslogtreecommitdiff
path: root/libfrontend-elements/documentation/index.xhtml
blob: ad12e507467700581eeff445b22676e8f7691202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<!--

file      : documentation/index.xhtml
author    : Boris Kolpackov <boris@kolpackov.net>
copyright : Copyright (c) 2005-2010 Boris Kolpackov
license   : GNU FDL v1.2; http://kolpackov.net/licenses/fdl-1.2.txt

-->

<head>

  <title>libfrontend-elements/documentation</title>

  <meta name="author" content="Boris Kolpackov"/>
  <meta name="copyright" content="&copy; 2005-2010 Boris Kolpackov"/>
  <meta name="keywords" content="c++,library,compiler,frontend"/>
  <meta name="description" content="libfrontend-elements/documentation"/>

  <link rel="stylesheet" type="text/css" href="default.css"/>

</head>

<body>

<div id="navigation">
<p>
<a href=".."><code>libfrontend-elements</code></a> <code>/</code>
<code>documentation</code>
</p>
</div>

<div id="content">
<p><i>libfrontend-elements</i> consists of the following
elements:</p>

<ul class="menu">
  <li><code>context</code></li>
  <li><code>diagnostic</code></li>
  <li><code>token-stream</code></li>
  <li><code>traversal</code></li>
</ul>


<p>Context is essentially a heterogeneous map of names to instances of
arbitrary types. It is primarily used to allow arbitrary annotations of
<em>semantic graph</em> nodes and edges, which are often useful
during code generation.</p>

<p>Diagnostic framework allows to implement consistent and extensible
compiler diagnostic without incurring significant notational burden.</p>

<p><code>TokenStream</code> is a generic interface which is usually
implemented by a <em>lexical analyzer</em>.</p>

<p>Traversal is a significant enhancement of a well-known <em>visitor</em>
idiom which is often used to traverse <em>semantic graphs</em>.</p>

</div>

<div id="docinfo">
<p>Copyright &copy; 2005-2010 <a title="Boris Kolpackov"
href="http://kolpackov.net">Boris Kolpackov</a>.</p>

<div class="terms">
Permission is granted to copy, distribute and/or modify this document under
the terms of the <a href="http://kolpackov.net/licenses/fdl-1.2.txt">GNU Free
Documentation License, version 1.2</a>; with no Invariant Sections, no
Front-Cover Texts and no Back-Cover Texts.
</div>
</div>

</body>
</html>