Skip to content

Lang spec v3 - #244

Open
lm-sousa wants to merge 17 commits into
ci-fixfrom
langSpecV3
Open

Lang spec v3#244
lm-sousa wants to merge 17 commits into
ci-fixfrom
langSpecV3

Conversation

@lm-sousa

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 28, 2026 20:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 7466f14582

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread Clava-JS/src-api/clava/code/Outliner.ts Outdated
Comment thread ClavaWeaver/src/pt/up/fe/specs/clava/weaver/CxxActions.java
… generator. This is a massive (but imcomplete) commit.

- Replaced the old XML-based Language Specification with the new Java embedded-DSL one.
- Updated joinpoint concrete classes to extend their respective abstract classes with a generic CRTP pattern Self type parameter.
- Simplified concrete types by having a single direct class hierarchy enforced by the generator.
- Concretes no longer declare the node field. That is done in the basae abstract jp in LARA.
- Refactored methods to use getNodeImpl() for consistency in accessing underlying AST nodes.
- Updated ClavaDirective and ClavaPragmas to use the new AJoinpoint interface.
- Adjusted ClavaAstMethods to accommodate changes in JoinPoint interface.
… a few type casting problems. They warrant further analysis.
@lm-sousa
lm-sousa changed the base branch from multi-weaver to ci-fix September 3, 2026 04:29
The langSpecV3 migration mapped the original binaryOp("=") to OpKind.eq
(comparison) instead of OpKind.assign, so outlining generated *result ==
retVal and *retFlag == 1 instead of assignments. The caller never observed
the outlined return value nor the success flag.
…tion switches

The InsertPosition enum never contained around; these legacy string
fall-throughs were the only remaining paths that accepted it, behaving
identically to replace. Any script passing the raw string now fails
loudly instead of silently aliasing replace.
@sonarqubecloud

sonarqubecloud Bot commented Sep 4, 2026

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

2 participants