summaryrefslogtreecommitdiff
path: root/projects/libparserutils/index.html
blob: fb23040b743bce7e65f5be47f5bec5c64186559a (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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
        "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>LibParserUtils | Parser Building Library</title>
<link rel="stylesheet" type="text/css" href="/projects/projects.css">
<link rel="icon" type="image/png" href="/webimages/favicon.png">
</head>
<body>

<div class="projects">
<ul>
<li><a href="/">NetSurf</a></li>
<li><a href="/projects/hubbub/">Hubbub</a></li>
<li><a href="/projects/libcss/">LibCSS</a></li>
<li><a href="/projects/libdom/">LibDOM</a></li>
<li><strong>LibParserUtils</strong></li>
<li><a href="/projects/libwapcaplet/">LibWapcaplet</a></li>
<li><a href="/projects/libsvgtiny/">Libsvgtiny</a></li>
<li><a href="/projects/libnsfb/">LibNSFB</a></li>
<li><a href="/projects/libnsbmp/">Libnsbmp</a></li>
<li><a href="/projects/libnsgif/">Libnsgif</a></li>
<li><a href="/projects/librosprite/">LibROSprite</a></li>
<li><a href="/projects/iconv/">Iconv</a></li>
<li><a href="/projects/rufl/">RUfl</a></li>
<li><a href="/projects/ttf2f/">TTF2f</a></li>
<li><a href="/projects/tinct/">Tinct</a></li>
<li><a href="/projects/libpencil/">Libpencil</a></li>
</ul>
</div>

<h1>LibParserUtils</h1>

<h2>What is LibParserUtils?</h2>

<p>LibParserUtils is a library for building efficient parsers, written in C. It was developed as part of the <a href="/">NetSurf</a> project and is available for use by other software under the MIT licence.</p>

<h2>Features</h2>

<ul>
<li>No mandatory dependencies (<code>iconv()</code> implementation optional for enhanced charset support)</li>
<li>A number of built-in character set converters</li>
<li>Mapping of character set names to/from MIB enum values</li>
<li>UTF-8 and UTF-16 (host endian) support functions</li>
<li>Various simple data structures (resizeable buffer, stack, vector)</li>
<li>A UTF-8 input stream</li>
<li>Simple C API</li>
<li>Portable</li>
<li>Shared library</li>
</ul>

<h3>Charset support</h3>

<p>LibParserUtils has the following built-in charset converters.</p>

<ul>
<li>UTF-8</li>
<li>UTF-16 (platform-native endian)</li>
<li>ISO-8859-n</li>
<li>Windows-125n</li>
<li>US-ASCII</li>
</ul>

<p><strong>Note:</strong> LibParserUtils can optionally be built to use <code>iconv()</code>, enabling support for many more charsets. See the <a href="//source.netsurf-browser.org/libparserutils.git/plain/README">readme</a> file for details.</p>


<h2>Source code</h2>

<p>You can <a href="//source.netsurf-browser.org/libparserutils.git/">browse the source code</a> via the online interface. Alternatively, you can check it out with Git:</p>

<p class="svncommand">$ git clone git://git.netsurf-browser.org/libparserutils.git</p>

<p>LibParserUtils is licensed under the <a href="http://opensource.org/licenses/mit-license.php">MIT Licence</a>.</p>

<h2>Releases</h2>

<ul>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.2.5-src.tar.gz">LibParserUtils 0.2.5 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.2.4-src.tar.gz">LibParserUtils 0.2.4 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.2.3-src.tar.gz">LibParserUtils 0.2.3 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.2.0-src.tar.gz">LibParserUtils 0.2.0 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.1.2-src.tar.gz">LibParserUtils 0.1.2 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.1.1-src.tar.gz">LibParserUtils 0.1.1 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.1.0-src.tar.gz">LibParserUtils 0.1.0 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.0.2-src.tar.gz">LibParserUtils 0.0.2 tarball</a></li>
<li><a href="https://download.netsurf-browser.org/libs/releases/libparserutils-0.0.1-src.tar.gz">LibParserUtils 0.0.1 tarball</a></li>
</ul>

<h2>Contact</h2>

<p>If you would like to help develop LibParserUtils, or have questions about the library, please join the NetSurf <a href="http://www.netsurf-browser.org/lists/netsurf-dev">developer mailing list</a>.</p>

</body>
</html>