Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Parse F-String Interpolation #162

Merged
merged 7 commits into from
Mar 5, 2022
Merged

Conversation

thevirtuoso1973
Copy link
Contributor

@thevirtuoso1973 thevirtuoso1973 commented Mar 5, 2022

Most of the work was previously done in the translation, this shifts the logic into the parser.

Also some other fixes:
Resolves #158.
Improves on #159.

Future improvement would be a custom OneOf parser with a better error type.
image

@thevirtuoso1973 thevirtuoso1973 marked this pull request as ready for review March 5, 2022 15:10
@thevirtuoso1973 thevirtuoso1973 changed the title Improve f string type Parse F-String Interpolation Mar 5, 2022
@thevirtuoso1973 thevirtuoso1973 merged commit b9198fa into main Mar 5, 2022
@thevirtuoso1973 thevirtuoso1973 deleted the Chris/improve-f-string-type branch March 5, 2022 17:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

f"a$b" is parsed as just "a"
1 participant