Same argument can be made for macro based system (which was roughly described here), which will have trivial desugaring as well.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Pre-RFC: Custom suffixes for integer and float literals | 49 | 5316 | March 25, 2019 | |
| [Pre-RFC] integer and float literals for custom types | 8 | 1691 | December 9, 2020 | |
|
Any RFC for Units of Measure?
|
135 | 10652 | March 25, 2019 | |
| Custom literals via const generics | 14 | 2576 | June 9, 2021 | |
|
Idea: In the next edition, stop accepting `0.` as a valid float literal
|
32 | 4092 | January 15, 2020 |