Sign in
android
/
platform
/
external
/
python
/
pycparser
/
refs/heads/android13-qpr1-release
/
examples
71a1930
Protect visiting recursion against empty argument lists
by Eli Bendersky
· 6 years ago
2a29d56
Fix example to properly visit nested function calls
by Eli Bendersky
· 6 years ago
0411963
Add option to dump_ast example to show coordinates
by Eli Bendersky
· 7 years ago
1d86699
Use https:// for all project links where available (#267)
by Jon Dufresne
· 7 years ago
168f54c
Fix link
by Eli Bendersky
· 7 years ago
4445799
Fix link formatting
by Eli Bendersky
· 7 years ago
2e387d4
Update READMEs to add more details about running examples
by Eli Bendersky
· 7 years ago
4992410
Remove trailing whitespace from .h/.c files
by Eli Bendersky
· 7 years ago
aac7b05
Basic AST dumping sample
by Eli Bendersky
· 8 years ago
516af94
Update CHANGES and clean up the explore_ast example
by Eli Bendersky
· 8 years ago
2129f5f
Python 3.6 invalid escape sequence deprecation fixes (#177)
by Ville Skyttä
· 8 years ago
69bca70
Clean up cdecl.py a bit
by Eli Bendersky
· 8 years ago
b23e267
Add support for expanding struct and typedef -- Issue 93 (#174)
by Hart Chu
· 8 years ago
599a495
Tweak serialize_ast sample to use `with` statements
by Eli Bendersky
· 8 years ago
4771ceb
Add example of serializing AST for #82 (#172)
by Hart Chu
· 8 years ago
a611da9
Fix comment typo (#171)
by Hart Chu
· 8 years ago
18c2844
dump and load as json (#163)
by Michael White
· 8 years ago
6d45ff7
Remove Copyright from every source file
by Eli Bendersky
· 8 years ago
ad93836
Clarify where examples should be run from
by Eli Bendersky
· 9 years ago
904cecd
Add fake libc path to func_defs.py
by Eli Bendersky
· 9 years ago
3a5bfea
Wipe out more mentions of lcc's cpp
by Eli Bendersky
· 10 years ago
d69771e
Various cosmetic updates to documentation
by Eli Bendersky
· 10 years ago
331f81f
Fix up examples to run properly from the main source dir
by Eli Bendersky
· 10 years ago
3c0c601
Cosmetic cleanups
by Eli Bendersky
· 10 years ago
cbe6e3b
modify example to use print function, rather than print statement
by Chris Morrison
· 10 years ago
4a7675a
Some cosmetic cleanup
by Eli Bendersky
· 11 years ago
a5c4925
examples: add example of rewriting AST node
by Akira Hayakawa
· 11 years ago
b35f783
Mention Clang for Windows in the README & using_gcc_E_libc example.
by Eli Bendersky
· 11 years ago
80d4838
Add an example: using gcc -E instead of cpp for preprocessing.
by Eli Bendersky
· 11 years ago
64782f5
A bit of cleanup
by Eli Bendersky
· 11 years ago
27797e8
More cleanups - whitespace, copyrights, etc.
by Eli Bendersky
· 12 years ago
3ea82c2
moar cleanups
by Eli Bendersky
· 12 years ago
4961d1b
fix example typo
by Eli Bendersky
· 12 years ago
a291586
Issue 63: fix up line endings
by Eli Bendersky
· 13 years ago
f86dea1
1. make examples callable from root dir
by Ben
· 13 years ago
7fd8897
cosmetic
by Eli Bendersky
· 13 years ago
875bd88
fix c generator to preserve qualifiers between pointer * and var name
by Eli Bendersky
· 13 years ago
bf4fae8
fix the case where the first statement in a file is empty (just a semicolon). Fix provided by Andreas Kloeckner
by Eli Bendersky
· 13 years ago
9899a3e
moving CGenerator tests
by Eli Bendersky
· 13 years ago
0e8e1b7
moving CGenerator from examples/c-to-c.py into its own class in pycparser/. c-to-c remains as a shell example over it
by Eli Bendersky
· 13 years ago
665a0bd
adaptations to execute tests successfully on Windows from the root dir
by eli.bendersky
· 13 years ago
dfd0df3
fix problem in c-to-c generation of casts. Patch by Andreas Kloeckner
by Eli Bendersky
· 13 years ago
68497c2
fix reversal of specifiers & qualifiers in C generation
by Eli Bendersky
· 13 years ago
91c0aa3
* Added EmptyStatement node to represent an empty statement (sole ';'), with tests and c-to-c support
by eli.bendersky
· 13 years ago
073f29e
* added some material to the explore_ast.py example * some cosmetic changes
by eli.bendersky
· 14 years ago
1bd6c17
1. remove redundant code 2. fix spacing issue in empty type declarations
by eli.bendersky
· 14 years ago
d4a9975
Issue 38: c-to-c: postfix -- behavior
by eli.bendersky
· 14 years ago
8348a9d
Issue 37: c-to-c: sizeof arg parenthesizing
by eli.bendersky
· 14 years ago
cad1cfd
Fix issue 36: empty block in c-to-c
by eli.bendersky
· 14 years ago
8e6c586
* A couple of bug fixes in c-to-c.py (Issue 35, and comlex types in function argument declarations)
by eli.bendersky
· 14 years ago
6ed80a6
Issue 33: fix c-to-c.py generation of casts
by eli.bendersky
· 14 years ago
84a6a63
changed license notices to BSD in all files
by eli.bendersky
· 14 years ago
b36f5bb
c-to-c: some precedence bug fixes
by eli.bendersky
· 14 years ago
dcb859c
c-to-c: implemented named initializers
by eli.bendersky
· 14 years ago
abb96e6
c-to-c: support for more statements, plus structs and unions
by eli.bendersky
· 14 years ago
e6ecb1a
added if & dowhile
by eli.bendersky
· 14 years ago
724b1cc
updated TODO with latest issue fix added some nodes to c-to-c.py example
by eli.bendersky
· 14 years ago
fc96e5e
fixing issue 23: coords of casts
by eli.bendersky
· 14 years ago
ae36e96
a couple more statements implemented
by eli.bendersky
· 14 years ago
3ae9f7a
in c-to-c.py example: some statements + enums + structs implemented
by eli.bendersky
· 14 years ago
afcfaac
some more implemented in c-to-c.py
by eli.bendersky
· 14 years ago
d5ba345
began skeleton implementation of c-to-c.py example
by eli.bendersky
· 14 years ago
1a1e46b
Removed portability.py, using from __future__ import print_function instead. This means only Python 2.6 and later is supported in 2.x
by eli.bendersky
· 14 years ago
fe5c2bb
releasing version 2.01 - removed yaml dependency, fix installation problems
by eli.bendersky
· 14 years ago
ef29ff9
Implemented mixing of declarations and statements in compound statements for C99.
by eli.bendersky
· 14 years ago
3921e8e
initial import from SVN
by Eli Bendersky
· 15 years ago