Skip to content
Discussion options

You must be logged in to vote

The AST is designed to be intentional at when its nodes embed Strings versus when it embeds Words. They are physically the same, but the latter are generally required to go through "word expansion" (see section 2.6 of the spec).

There may be discrepancies in the code base. If they're intentional, ideally there would be a reason and sufficient commenting. And if not, then it may very well be a bug / oversight. Please do report any such issues!

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
2 replies
@reubeno
Comment options

@hwittenborn
Comment options

Comment options

You must be logged in to vote
3 replies
@reubeno
Comment options

Answer selected by hwittenborn
@hwittenborn
Comment options

@reubeno
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #515 on May 24, 2025 15:52.