Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Slightly related question:

Do any editors have a "translator" kind of tooltip or panel that explains what each symbol does in languages like APL or KamilaLisp?

I was thinking about how I'd go about learning the various symbols involved in such a language, and I learn best by reading and modifying existing code, so something that helps me understand what I'm looking at would be nice.



Language-specific web editors often do. I think Uiua (https://www.uiua.org/) is the state of the art here, with the minor issue that most of the symbols aren't used in any other language. Several APL-likes have language bars at the top, with names shown on hover.

- Dyalog APL: https://tryapl.org/

- Kap: https://kapdemo.dhsdevelopments.com/clientweb2/

- ngn/apl: https://abrudz.github.io/ngn-apl/web/

- BQN (my language): https://bqn.funmaker.moe/


Dyalog APL's RIDE interface doesn't even need you to find the symbol on a language bar; just hover the mouse over it, and a tooltip appears: https://i.imgur.com/XtzRGUs.png


Although Dyalog APL is slightly different from other APLs, their editor does have exactly that in their REPL; it is a good way to learn the basics.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: