Re:AsciiMath: An easy-to-write markup language for mathematics
by xchkr1337 on Tuesday January 24, 2023 @02:29AM
(#34500551)
Not exactly what you're asking for, but in Julia you can write and use unicode symbols like this under the backslash key (supported both in the REPL and VS Code plugin), which lets you use more operators and makes the code look fancier
Re:AsciiMath: An easy-to-write markup language for mathematics
by KirillPanov on Tuesday January 24, 2023 @03:21AM
(#34500938)
∑√
These keys aren't on my keyboard.
If they're on your keyboard, just reprogram them to emit `sum` and `sqrt` respectively.
Unicode is for viewing; keyboard locales are for inputting. We're never going to have 2^32 keys on our keyboards.
Re:AsciiMath: An easy-to-write markup language for mathematics
by maxnoe on Tuesday January 24, 2023 @03:28AM
(#34501000)
Use the power of combinatorics! 26 keys offer 18252 2 letter + three letter combinations.
Using special chars even more.
Compose key is memetic and easy to use on all operating systems.
Re:AsciiMath: An easy-to-write markup language for mathematics
by eviks on Tuesday January 24, 2023 @07:00AM
(#34502518)
>Unicode is for viewing
So? That's exactly what ∑√ allows you to do: view these nicer chars instead of the verbose/ugly names
> We're never going to have 2^32 keys on our keyboards.
And how is this relevant? You don't need 2^32, a much smaller number would suffice. Just read the posted link and count the number of rows - that's closer to your upper limit
For example,
∑(i=1)^n instead of
sum_(i=1)^n
√x instead of
sqrt x