Skip to content

Release/8.x#280

Merged
kkozik-amplify merged 25 commits intomainfrom
release/8.x
Apr 7, 2026
Merged

Release/8.x#280
kkozik-amplify merged 25 commits intomainfrom
release/8.x

Conversation

@kkozik-amplify
Copy link
Copy Markdown
Collaborator

No description provided.

kkozik-amplify and others added 23 commits March 9, 2026 12:20
- development status
- drop python 3.7 support
`FormatterOptions` - dont open empty objects by default
* Add postlexer to support multiline binary operators and ternary expressions

* CLAUED.md - add pre-commit section
…truction (#275)

The reconstructor's _should_add_space_before only checked for binary operator
spacing when the next sibling was a Token, but after operators like && the next
sibling can be a Tree (expr_term wrapping unary_op), causing "&&!foo" instead
of "&& !foo".

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…on (#134) (#281)

NewLineOrCommentRule.serialize() now concatenates all child tokens instead of
only reading the first, fixing silently dropped comments in multi-token
new_line_or_comment nodes. BinaryOpRule distinguishes its trailing
new_line_or_comment (which can absorb body-level comments from the grammar)
from expression-internal comments, routing absorbed standalone comments to
__comments__ and keeping expression-internal ones in __inline_comments__.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
#282)

* Fix comment serialization: multi-token NL_OR_COMMENT and classification (#134)

NewLineOrCommentRule.serialize() now concatenates all child tokens instead of
only reading the first, fixing silently dropped comments in multi-token
new_line_or_comment nodes. BinaryOpRule distinguishes its trailing
new_line_or_comment (which can absorb body-level comments from the grammar)
from expression-internal comments, routing absorbed standalone comments to
__comments__ and keeping expression-internal ones in __inline_comments__.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* Add adjacent comment support to hq BlockView and AttributeView queries

Collect leading comments from NewLineOrCommentRule siblings in BodyView and
attach them to BlockView/AttributeView via to_dict(with_comments=True).
Remove the now-inaccurate --with-comments warning from hq CLI.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collapse 8.0.0-rc2 section and add entries for hq CLI, agent-friendly
conversion CLIs, template directives, comment loading, and bug fixes
shipped since rc2. Update README and getting-started docs with CLI
mentions, pipx install, hq examples link, and revised roadmap.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kkozik-amplify kkozik-amplify marked this pull request as ready for review April 7, 2026 14:22
@kkozik-amplify kkozik-amplify requested a review from a team as a code owner April 7, 2026 14:22
kkozik-amplify and others added 2 commits April 7, 2026 19:25
…docs table (#286) (#287)

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@kkozik-amplify kkozik-amplify merged commit 57f9e7e into main Apr 7, 2026
10 of 11 checks passed
@kkozik-amplify kkozik-amplify deleted the release/8.x branch April 7, 2026 17:41
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