This is an automated archive made by the Lemmit Bot.

The original was posted on /r/programminglanguages by /u/Thnikkaman14 on 2024-10-17 19:47:29+00:00.


It turns out math uses a lot of symbols:

I’m curious if you all know of any interesting examples of languages which try to utilize some of the more complex syntax. I imagine there are several complications:

  • Just properly handling operator precedence with some of these nonstandard operators seems like it would be quite annoying.
  • What sort of IDE / editor would a user of the language even use? Most of these symbols are not easily typeable on a standard keyboard.
  • subscripts and superscripts often have important syntactic meaning in math, but I imagine actually supporting this in a language parser would be incredibly impractical.
  • A tokenizer which gives syntactic meaning to unicode decorators sounds like a nightmare, I can’t imagine there is any language which actually does this