/usr/share/doc/python3-pycparser/examples
Run these examples from the root directory of pycparser. Please note that most realistic C code samples would require running the C preprocessor before passing the code to **pycparser**; see the `README file <https://github.com/eliben/pycparser/blob/master/README.rst>`_ and `this blog post <https://eli.thegreenplace.net/2015/on-parsing-c-type-declarations-and-fake-headers>`_ more details.
.
Edit
..
Edit
README.rst
Edit
c-to-c.py
Edit
c_files
Edit
c_json.py
Edit
cdecl.py
Edit
dump_ast.py
Edit
explore_ast.py
Edit
func_calls.py
Edit
func_defs.py
Edit
rewrite_ast.py
Edit
serialize_ast.py
Edit
using_cpp_libc.py
Edit
using_gcc_E_libc.py
Edit