Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update file name in serialize_ast and make sure it's in .gitignore | Eli Bendersky | 2023-01-09 | 1 | -2/+3 |
| | |||||
* | Clean up serialize_ast example to use HIGHEST_PROTOCOL for pickling | Eli Bendersky | 2023-01-09 | 1 | -6/+1 |
| | |||||
* | Only run example tests on Linux, since many require cpp | Eli Bendersky | 2021-10-29 | 1 | -5/+0 |
| | |||||
* | Try to make func_calls example pass on all platforms with no arguments | Eli Bendersky | 2021-10-29 | 2 | -2/+10 |
| | |||||
* | Add test that runs all examples and makes sure they don't crash | Eli Bendersky | 2021-10-29 | 5 | -13/+27 |
| | |||||
* | Fix typos (#443) | Kian Meng Ang | 2021-10-18 | 2 | -3/+3 |
| | | | | | * Fix typos * Revert changes in vendor module | ||||
* | Fix examples/func_defs_add_param.py: add missing `align` parameter (#441) | Eisuke Kawashima | 2021-10-15 | 1 | -0/+1 |
| | |||||
* | Fix Flake8 Errors (#442) | Eisuke Kawashima | 2021-10-15 | 6 | -6/+4 |
| | | | | | | | | | * Fix PEP8 [E101](https://github.com/PyCQA/pycodestyle/blob/2.8.0/docs/intro.rst#error-codes) * Fix PEP8 [E711](https://github.com/PyCQA/pycodestyle/blob/2.8.0/docs/intro.rst#error-codes) * Fix E999 (python2) * Fix PEP8 [F401](https://flake8.pycqa.org/en/4.0.1/user/error-codes.html) | ||||
* | Implement _Alignas and _Alignof support with tests (#435) | Vitaly Cheptsov | 2021-10-04 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | * Implement _Alignas and _Alignof support with tests * Improve testing and avoid unnecessary alignas for typedef * Add more tests * Drop legacy artifact * Remove extra _add_declaration_specifier call * Drop custom equality comparators for now Co-authored-by: vit9696 <vit9696@users.noreply.github.com> | ||||
* | Clean up trailing whitespace | Eli Bendersky | 2021-09-21 | 1 | -1/+1 |
| | |||||
* | Add example file for ast dumping | Eli Bendersky | 2021-05-27 | 1 | -0/+15 |
| | |||||
* | Add example of modifying an AST and printing out modified code | Eli Bendersky | 2020-04-15 | 1 | -0/+58 |
| | |||||
* | Move code to __main__ block | Eli Bendersky | 2020-04-15 | 1 | -9/+10 |
| | |||||
* | Move internal testing stuff from c-to-c example into utils/internal | Eli Bendersky | 2020-04-15 | 1 | -31/+1 |
| | |||||
* | Protect visiting recursion against empty argument lists | Eli Bendersky | 2019-02-15 | 1 | -1/+2 |
| | | | | Fixes #308 | ||||
* | Fix example to properly visit nested function calls | Eli Bendersky | 2018-10-23 | 1 | -3/+3 |
| | | | | Reported in #285 | ||||
* | Add option to dump_ast example to show coordinates | Eli Bendersky | 2018-09-30 | 1 | -1/+3 |
| | |||||
* | Use https:// for all project links where available (#267) | Jon Dufresne | 2018-06-26 | 10 | -10/+10 |
| | |||||
* | Fix link | Eli Bendersky | 2018-04-12 | 1 | -1/+1 |
| | |||||
* | Fix link formatting | Eli Bendersky | 2018-04-12 | 1 | -3/+3 |
| | |||||
* | Update READMEs to add more details about running examples | Eli Bendersky | 2018-04-12 | 1 | -1/+8 |
| | |||||
* | Remove trailing whitespace from .h/.c files | Eli Bendersky | 2018-02-06 | 2 | -30/+30 |
| | |||||
* | Basic AST dumping sample | Eli Bendersky | 2017-04-07 | 1 | -0/+25 |
| | |||||
* | Update CHANGES and clean up the explore_ast example | Eli Bendersky | 2017-03-10 | 1 | -31/+29 |
| | |||||
* | Python 3.6 invalid escape sequence deprecation fixes (#177) | Ville Skyttä | 2017-03-04 | 1 | -1/+1 |
| | | | https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior | ||||
* | Clean up cdecl.py a bit | Eli Bendersky | 2017-02-26 | 1 | -14/+19 |
| | |||||
* | Add support for expanding struct and typedef -- Issue 93 (#174) | Hart Chu | 2017-02-26 | 1 | -5/+93 |
| | | | | | | * Add support for expanding struct and typedef * Make expansion return a new node instead of in-place modification | ||||
* | Tweak serialize_ast sample to use `with` statements | Eli Bendersky | 2017-02-21 | 1 | -8/+6 |
| | |||||
* | Add example of serializing AST for #82 (#172) | Hart Chu | 2017-02-21 | 1 | -0/+38 |
| | | | | | | * Fix comment typo * Add example of serializing AST | ||||
* | Fix comment typo (#171) | Hart Chu | 2017-02-19 | 2 | -2/+2 |
| | |||||
* | dump and load as json (#163) | Michael White | 2017-02-02 | 1 | -0/+203 |
| | | | | | | | | | | | | * ast to json working * Now roundtrippable * Serialize all attrs to json. Handle coords attr which was silently dropped previously. * Documentation and comment fixes. * Minor comment tweak. | ||||
* | Remove Copyright from every source file | Eli Bendersky | 2017-02-02 | 8 | -8/+8 |
| | | | | Replace it by website link; copyright appears in the LICENSE file already, which is sufficient | ||||
* | Clarify where examples should be run from | Eli Bendersky | 2016-02-26 | 3 | -3/+2 |
| | |||||
* | Add fake libc path to func_defs.py | Eli Bendersky | 2015-12-12 | 1 | -2/+3 |
| | |||||
* | Wipe out more mentions of lcc's cpp | Eli Bendersky | 2015-05-18 | 1 | -4/+1 |
| | |||||
* | Various cosmetic updates to documentation | Eli Bendersky | 2015-05-10 | 2 | -2/+2 |
| | |||||
* | Fix up examples to run properly from the main source dir | Eli Bendersky | 2015-04-21 | 4 | -17/+12 |
| | |||||
* | Cosmetic cleanups | Eli Bendersky | 2015-04-20 | 2 | -4/+1 |
| | |||||
* | modify example to use print function, rather than print statement | Chris Morrison | 2014-11-05 | 1 | -1/+1 |
| | |||||
* | Some cosmetic cleanup | Eli Bendersky | 2014-08-22 | 2 | -4/+1 |
| | |||||
* | examples: add example of rewriting AST node | Akira Hayakawa | 2014-08-22 | 1 | -0/+31 |
| | | | | Signed-off-by: Akira Hayakawa <ruby.wktk@gmail.com> | ||||
* | Mention Clang for Windows in the README & using_gcc_E_libc example. | Eli Bendersky | 2014-08-19 | 1 | -1/+2 |
| | | | | Brought up in #38. | ||||
* | Add an example: using gcc -E instead of cpp for preprocessing. | Eli Bendersky | 2014-04-23 | 1 | -0/+30 |
| | |||||
* | A bit of cleanup | Eli Bendersky | 2014-04-23 | 2 | -6/+2 |
| | |||||
* | More cleanups - whitespace, copyrights, etc. | Eli Bendersky | 2013-09-25 | 2 | -30/+32 |
| | |||||
* | moar cleanups | Eli Bendersky | 2013-09-25 | 1 | -15/+10 |
| | |||||
* | fix example typo | Eli Bendersky | 2012-12-25 | 1 | -1/+1 |
| | |||||
* | Issue 63: fix up line endings | Eli Bendersky | 2012-06-23 | 8 | -841/+841 |
| | |||||
* | 1. make examples callable from root dir | Ben | 2012-02-03 | 6 | -6/+6 |
| | | | | | 2. improve error message displayed to the user when cpp is not found by parse_file | ||||
* | cosmetic | Eli Bendersky | 2012-01-24 | 1 | -1/+1 |
| |