Skip to content

feat: add optional chaining (?.) support 🔗#947

Open
bricss wants to merge 8 commits into
twigjs:masterfrom
bricss:feat/add-optional-chaining-support
Open

feat: add optional chaining (?.) support 🔗#947
bricss wants to merge 8 commits into
twigjs:masterfrom
bricss:feat/add-optional-chaining-support

Conversation

@bricss

@bricss bricss commented Mar 15, 2026

Copy link
Copy Markdown

This PR is an attempt to bring support for optional chaining (?.) into the engine.

@willrowe

Copy link
Copy Markdown
Collaborator

@bricss thank you for trying to implement this. Please remove everything not related to implementing this feature, there seems to be a lot of unrelated changes.

@bricss

bricss commented Mar 16, 2026

Copy link
Copy Markdown
Author

Unrelated changes include fix 🪛 for build to work on Windows 🪟 machines, removal of redundant escapes inside regexp literals, and change of regexp that matches quoted strings to increase its performance twofold. I can remove and forget about em, or create separate PR in case if that one will land 🛬

@willrowe

Copy link
Copy Markdown
Collaborator

Please remove anything unrelated. You can open separate PRs for those other things.

@bricss

bricss commented Mar 16, 2026

Copy link
Copy Markdown
Author

Removed unrelated changes except for type annotations 📝

@willrowe

Copy link
Copy Markdown
Collaborator

Please remove all unrelated type annotations as well.

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.

2 participants