File: README.toc.rst.html

package info (click to toggle)
ruby-github-markup 1.5.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 336 kB
  • ctags: 118
  • sloc: ruby: 373; python: 113; sh: 21; makefile: 15
file content (32 lines) | stat: -rw-r--r-- 1,263 bytes parent folder | download | duplicates (7)
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
<div>
<p>Contents</p>
<ul>
<li>
<a href="#introduction">1   Introduction</a><ul>
<li><a href="#what-is-pycparser">1.1   What is pycparser?</a></li>
<li><a href="#what-is-it-good-for">1.2   What is it good for?</a></li>
</ul>
</li>
</ul>
</div>
<a name="introduction"></a>
<h2>1   Introduction</h2>
<a name="what-is-pycparser"></a>
<h3>1.1   What is pycparser?</h3>
<p><strong>pycparser</strong> is a parser for the C language, written in pure Python. It is a
module designed to be easily integrated into applications that need to parse
C source code.</p>
<a name="what-is-it-good-for"></a>
<h3>1.2   What is it good for?</h3>
<p>Anything that needs C code to be parsed. The following are some uses for
<strong>pycparser</strong>, taken from real user reports:</p>
<ul>
<li>C code obfuscator</li>
<li>Front-end for various specialized C compilers</li>
<li>Static code checker</li>
<li>Automatic unit-test discovery</li>
<li>Adding specialized extensions to the C language</li>
</ul>
<p><strong>pycparser</strong> is unique in the sense that it's written in pure Python - a very
high level language that's easy to experiment with and tweak. To people familiar
with Lex and Yacc, <strong>pycparser</strong>'s code will be simple to understand.</p>