Cparser

Latest version: v0.5.2

Safety actively analyzes 706267 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.5.2

Fixed

- Single parameter function calls are now properly parsed as primary expressions (primary_exp) instead of declarations (decl).

Changed

- Migrated setup to `pyproject.toml`

0.5.1

Fixed

- C declaration lists (e.g. C code `float a, b, c;`) are now properly parsed into `parser.declarations`.

0.5.0

Added

- Added `Declaration` class that collects information about all declarations of interest in semantic actions.

Changed

- Simplified some grammar rules and added named matches to simplify semantic actions (**BIC**)

0.4.1

Changed

- Fixed `parglare` dependency. Now we should be able to use all 0.16.* versions of `parglare`.
- Fixed problem with installing `cparser` in editable mode.

0.4.0

Changed

- Relaxed dependency towards `parglare` parser.

0.3.1

Changed

- The dangling else problem is handled.
-

Page 1 of 2

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.