Skip to content

Conversation

@c42f
Copy link
Member

@c42f c42f commented Aug 4, 2025

Non-MIME show() for GreenNode was using the default implementation which is extremely verbose. Here we print it as an S-expression instead. I've made a choice to show absolute position within the parent node rather than node span so that it directly relates to indices in the string it was derived from.

Non-MIME `show()` for `GreenNode` was using the default implementation
which is extremely verbose. Here we print it as an S-expression instead.
I've made a choice to show absolute position within the parent node
rather than node span so that it directly relates to indices in the
string it was derived from.
@c42f c42f force-pushed the caf/show-GreenNode branch from 6c5e113 to e4be1da Compare August 4, 2025 07:13
@c42f c42f merged commit cc18f83 into main Aug 5, 2025
36 checks passed
@c42f c42f deleted the caf/show-GreenNode branch August 5, 2025 10:51
c42f added a commit to JuliaLang/julia that referenced this pull request Oct 17, 2025
…jl#581)

Non-MIME `show()` for `GreenNode` was using the default implementation
which is extremely verbose. Here we print it as an S-expression instead.
I've made a choice to show absolute position within the parent node
rather than node span so that it directly relates to indices in the
string it was derived from.
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