Re:Code Generation in Rust vs. C++26
by fanf2 on Thursday October 03, 2024 @12:52PM
(#41732475)
One of the fun things about the Unicode bidi algorithm is that it flips brackets. You always use ( as an open round bracket, but if your script is rtl it appears like ). In order to support this feature, Unicode has a list of all known kinds of reversible paired brackets.
https://www.unicode.org/Public/UNIDATA/BidiBrackets.txt
For extra fun, C++ < angle brackets > are, of course, not brackets.