| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
* 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
* 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>
|
| |
|
| |
|
|
|
|
| |
* Implement __repr__ on Nodes.
|
|
|
|
|
| |
- Removed unnecessary whitespace
- Removed old & stale 'if __main__' sections in some of the library files
|
|
|
|
|
|
|
| |
(#220)
Improve NodeVisitor performance, add iterator on Node children.
|
|
|
|
| |
Replace it by website link; copyright appears in the LICENSE file already, which is sufficient
|
| |
|
|
|
|
|
|
|
| |
weakref support was broken by setting __slots__ on AST objects to conserve
memory.
Reinstate it. See issue #76, #75
|
|
|
|
|
|
|
|
|
| |
In general, there's no need to dynamically adjust the attributes of AST nodes.
So __slots__ seems suitable.
This reduces the memory usage of the test case reported in issue #72 from 21MB
to 17.5MB and should reduce the amount of space consumed by AST nodes in
general.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Based on code contributed by Tomer Segal in Issue #51
|
| |
|
|
|
|
| |
generated code much shorter
|
| |
|
|
|
|
| |
inline: added field in Decl for it
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
generation.
The goal is to have no generation of file even integrated.
python is enough concise to avoid usage of a dsl like YAML.
Introduction of introspection to act as the previously generated code.
In such way it is possible to enrichen the class of the AST and drift
from without the fear of alteration of the class in the future.
sub class Node creation through introspection through the function
subClassNode in ast which allow to have a more concise description
of the nodes in the c_ast module.
|
|
|