Skip to content

GROUP 2: Const Statements (First Milestone)#7

Open
EGmux wants to merge 18 commits into
rbonifacio:mainfrom
EGmux:main
Open

GROUP 2: Const Statements (First Milestone)#7
EGmux wants to merge 18 commits into
rbonifacio:mainfrom
EGmux:main

Conversation

@EGmux
Copy link
Copy Markdown

@EGmux EGmux commented Apr 21, 2026

Group Members
Enzo Gurgel Bissoli - egb2
Shellyda de Fatima Silva Barbosa - sfsb2
Rodrigo Santos Batista - rsb6
Juliana Serafim da Silva - jss4
Anderson Vitor Leoncio de Lima - avll

EGmux and others added 18 commits April 6, 2026 09:51
- Introduced `const_statement` to parse local constant declarations in function bodies.
- Updated the `statement` function to include `const_statement` in its parsing order.
- Enhanced documentation to reflect the new constant declaration feature.
- tests increase in complexity
- each test modify "knobs" to control complexity such as the ammount of
  expressions and the allowed nested level

Note: The following C features are NOT covered by these tests:
- Pointer types (T*, &, *)
- Struct/union types and members
- Array types and indexing
- Function pointers
- Type qualifiers (volatile, restrict)
- Storage class specifiers (static, extern, register)
- Multiple declarators (int x = 1, y = 2)
- Designated initializers
- Compound literals
- Cast expressions
- sizeof expressions
- Enum constants
- Bitfields
- Inline assembly
- Preprocessor directives
- _Generic, _Alignas, _Static_assert (C11/C23 features)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants