android13/external/python/pycparser/examples
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
c_files initial 2024-06-22 20:45:49 +08:00
README.rst initial 2024-06-22 20:45:49 +08:00
c-to-c.py initial 2024-06-22 20:45:49 +08:00
c_json.py initial 2024-06-22 20:45:49 +08:00
cdecl.py initial 2024-06-22 20:45:49 +08:00
dump_ast.py initial 2024-06-22 20:45:49 +08:00
explore_ast.py initial 2024-06-22 20:45:49 +08:00
func_calls.py initial 2024-06-22 20:45:49 +08:00
func_defs.py initial 2024-06-22 20:45:49 +08:00
rewrite_ast.py initial 2024-06-22 20:45:49 +08:00
serialize_ast.py initial 2024-06-22 20:45:49 +08:00
using_cpp_libc.py initial 2024-06-22 20:45:49 +08:00
using_gcc_E_libc.py initial 2024-06-22 20:45:49 +08:00

README.rst

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.