Skip to content

Escape braces in literals - #150

Merged
istathar merged 2 commits into
technique-lang:mainfrom
istathar:escapes-in-literals
Aug 20, 2026
Merged

Escape braces in literals#150
istathar merged 2 commits into
technique-lang:mainfrom
istathar:escapes-in-literals

Conversation

@istathar

@istathar istathar commented Aug 19, 2026

Copy link
Copy Markdown
Member

Ensure the presence of a brace { or } in a literal doesn't break the parser by adding braces to the set of characters that can be escaped, if necessary.

Revamping escape handling led to it becoming permissible to have escapes in tablet labels. It's not something you'd need most of the time, but there is no reason to prohibit them and this means now the code is simpler with just one string-ish parsing path.

Testing with content in a mutliline literal inadvertently led us to realize that we had (as is ever the case) inconsistent handling of embedded tab characters. Bloody things strike again. Decided to have the formatter normalize tabs to four spaces on output.

@istathar istathar self-assigned this Aug 19, 2026
@istathar
istathar merged commit c702da5 into technique-lang:main Aug 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant