summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Fix up examples to run properly from the main source dirEli Bendersky2015-04-214-17/+12
|
* Cosmetic cleanupsEli Bendersky2015-04-202-4/+1
|
* modify example to use print function, rather than print statementChris Morrison2014-11-051-1/+1
|
* Some cosmetic cleanupEli Bendersky2014-08-222-4/+1
|
* examples: add example of rewriting AST nodeAkira Hayakawa2014-08-221-0/+31
| | | | Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com>
* Mention Clang for Windows in the README & using_gcc_E_libc example.Eli Bendersky2014-08-191-1/+2
| | | | Brought up in #38.
* Add an example: using gcc -E instead of cpp for preprocessing.Eli Bendersky2014-04-231-0/+30
|
* A bit of cleanupEli Bendersky2014-04-232-6/+2
|
* More cleanups - whitespace, copyrights, etc.Eli Bendersky2013-09-252-30/+32
|
* moar cleanupsEli Bendersky2013-09-251-15/+10
|
* fix example typoEli Bendersky2012-12-251-1/+1
|
* Issue 63: fix up line endingsEli Bendersky2012-06-238-841/+841
|
* 1. make examples callable from root dirBen2012-02-036-6/+6
| | | | | 2. improve error message displayed to the user when cpp is not found by parse_file
* cosmeticEli Bendersky2012-01-241-1/+1
|
* fix c generator to preserve qualifiers between pointer * and var nameEli Bendersky2012-01-241-1/+1
|
* fix the case where the first statement in a file is empty (just a ↵Eli Bendersky2012-01-241-1/+2
| | | | semicolon). Fix provided by Andreas Kloeckner
* moving CGenerator testsEli Bendersky2012-01-241-127/+0
|
* moving CGenerator from examples/c-to-c.py into its own class in pycparser/. ↵Eli Bendersky2012-01-241-382/+9
| | | | c-to-c remains as a shell example over it
* adaptations to execute tests successfully on Windows from the root direli.bendersky2012-01-201-3/+3
|
* fix problem in c-to-c generation of casts. Patch by Andreas KloecknerEli Bendersky2012-01-192-102/+116
|
* fix reversal of specifiers & qualifiers in C generationEli Bendersky2012-01-191-1/+1
|
* * Added EmptyStatement node to represent an empty statement (sole ';'), with ↵eli.bendersky2011-10-162-5/+6
| | | | | | tests and c-to-c support * Added sys.path update in _build_tables.py to enable it to run correctly from the pycparser folder
* * added some material to the explore_ast.py exampleeli.bendersky2011-08-311-6/+23
| | | | * some cosmetic changes
* 1. remove redundant codeeli.bendersky2011-07-162-11/+12
| | | | 2. fix spacing issue in empty type declarations
* Issue 38: c-to-c: postfix -- behavioreli.bendersky2011-05-262-3/+18
|
* Issue 37: c-to-c: sizeof arg parenthesizingeli.bendersky2011-05-262-1/+20
|
* Fix issue 36: empty block in c-to-celi.bendersky2011-05-262-8/+8
|
* * A couple of bug fixes in c-to-c.py (Issue 35, and comlex types in function ↵eli.bendersky2011-05-202-12/+109
| | | | | | argument declarations) * added unit tests for c-to-c.py
* Issue 33: fix c-to-c.py generation of castseli.bendersky2011-05-091-9/+9
|
* changed license notices to BSD in all fileseli.bendersky2011-04-296-9/+9
|
* c-to-c: some precedence bug fixeseli.bendersky2011-03-061-33/+46
|
* c-to-c: implemented named initializerseli.bendersky2011-03-051-30/+34
|
* c-to-c: support for more statements, plus structs and unionseli.bendersky2011-03-051-13/+67
|
* added if & dowhileeli.bendersky2011-03-051-1/+29
|
* updated TODO with latest issue fixeli.bendersky2011-03-051-16/+47
| | | | added some nodes to c-to-c.py example
* fixing issue 23: coords of castseli.bendersky2011-03-041-5/+22
|
* a couple more statements implementedeli.bendersky2011-02-271-17/+32
|
* in c-to-c.py example: some statements + enums + structs implementedeli.bendersky2011-02-271-10/+123
|
* some more implemented in c-to-c.pyeli.bendersky2011-02-251-41/+69
|
* began skeleton implementation of c-to-c.py exampleeli.bendersky2011-02-181-0/+110
|
* Removed portability.py, using from __future__ import print_function instead. ↵eli.bendersky2011-02-182-7/+7
| | | | This means only Python 2.6 and later is supported in 2.x
* releasing version 2.01 - removed yaml dependency, fix installation problemseli.bendersky2010-12-041-102/+102
|
* Implemented mixing of declarations and statements in compound statements for ↵eli.bendersky2010-10-292-13/+9
| | | | | | C99. -> In the Compound AST node, decls and stmts were removed and replaced by a single list named block_items (this is an API change!)
* initial import from SVNEli Bendersky2010-05-2110-0/+973