-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #391 from github/add-ids-to-rsts
Add IDs to the headers generated by RST
- Loading branch information
Showing
5 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
.. contents:: | ||
:backlinks: none | ||
|
||
.. sectnum:: | ||
|
||
Introduction | ||
============ | ||
|
||
What is pycparser? | ||
------------------ | ||
|
||
**pycparser** 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. | ||
|
||
What is it good for? | ||
-------------------- | ||
|
||
Anything that needs C code to be parsed. The following are some uses for | ||
**pycparser**, taken from real user reports: | ||
|
||
* C code obfuscator | ||
* Front-end for various specialized C compilers | ||
* Static code checker | ||
* Automatic unit-test discovery | ||
* Adding specialized extensions to the C language | ||
|
||
**pycparser** 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, **pycparser**'s code will be simple to understand. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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> |