Skip to content

3.14 Template Strings #2687

@KevinMGranger

Description

@KevinMGranger

I'd like to take a swing at adding 3.14's template strings (t"foo{bar}") to Hy.

However, for bracket strings, following the same rules for f-strings... it'd be a breaking change for anyone already using #[t[ or #[t-$SOMETHING[!

Thoughts on how to resolve that? Maybe a pragma option to opt in? Alternate syntax specifically for bracketed template strings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions