Skip to content

infix form missing for || operator in Figures 26, 27 #287

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

Open
xworld21 opened this issue May 5, 2025 · 0 comments
Open

infix form missing for || operator in Figures 26, 27 #287

xworld21 opened this issue May 5, 2025 · 0 comments

Comments

@xworld21
Copy link

xworld21 commented May 5, 2025

Disclaimer: I might be misunderstanding the dictionary lookup!

The operator || (two ASCII characters) has infix, prefix, and postfix forms listed in Figure 29. However, the lookup algorithm in B1 remaps || to 0x0331, which only has prefix and postfix forms in Figures 26, 27.

Since the algorithm in 3.2.4.2 says you should try infix, postfix, prefix until you find a non-default answer, || never gets the infix spacing.

In fact, Google Chrome 135 seemingly adds no space around infix instances of ||.

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

No branches or pull requests

1 participant