Skip to content

TSL Transpiler: Add grouped precedence levels #31581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 7, 2025
Merged

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Aug 6, 2025

Fixes #31513

Description

The precedenceOperators constant was changed from a flat array into a 2D array. Each sub-array now represents a single, distinct precedence level (e.g., ['*', '/', '%']). These operators must have the same precedence and be evaluated with left-to-right associativity.

@sunag sunag added this to the r180 milestone Aug 6, 2025
@sunag sunag marked this pull request as ready for review August 7, 2025 01:26
@sunag sunag merged commit f2f230a into mrdoob:dev Aug 7, 2025
8 checks passed
@sunag sunag deleted the dev-transpiler branch August 7, 2025 02:12
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.

Multiplicative operator precedence in TSL Transpiler
1 participant