Skip to content

Add a helper for deparsing a list of statements#36

Open
sgrif wants to merge 1 commit into
mainfrom
sg-deparse-stmts
Open

Add a helper for deparsing a list of statements#36
sgrif wants to merge 1 commit into
mainfrom
sg-deparse-stmts

Conversation

@sgrif

@sgrif sgrif commented Jul 13, 2026

Copy link
Copy Markdown
Collaborator

Right now it's pretty painful for downstream code to take something they got from parse and turn it back into a string. This adds a helper for that use case.

We aren't using stdlib's join as that requires an intermediate vec that we don't have.

@sgrif sgrif requested a review from meskill July 13, 2026 13:45
@sgrif sgrif force-pushed the sg-deparse-stmts branch from acd77b9 to 6b424c4 Compare July 13, 2026 15:12
Right now it's pretty painful for downstream code to take something they
got from `parse` and turn it back into a string. This adds a helper for
that use case.

We aren't using stdlib's `join` as that requires an intermediate vec
that we don't have.
@sgrif sgrif force-pushed the sg-deparse-stmts branch from 6b424c4 to b65ecbd Compare July 13, 2026 16:08
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.

1 participant