3 ms·
(I'm not really familiar with the details of J, K, or APL) If either J or K is completely equivalent to APL, but uses words instead of symbols, then it might b
by NoodleIncident 7y ago
(I'm not really familiar with the details of J, K, or APL)
If either J or K is completely equivalent to APL, but uses words instead of symbols, then it might be possible to set up a program that replaces those words with the equivalent APL symbols.
For this to work in any text editor, it would have to be a special keyboard/input, like how Japanese is spelled out in katakana and then converted to kanji. I'm not sure how hard that would be to set up. If a vim-only solution is good enough, then this could be accomplished using the "abbreviations" feature: http://learnvimscriptthehardway.stevelosh.com/chapters/08.html http://learnvimscriptthehardway.stevelosh.com/chapters/08.ht...
- yiyus 7y agoJ and K generally use symbols instead of words, but what you said still applies. I have seen very similar solutions that allow to represent J with APL symbols, and it surely looks much better. But these solutions are far from optimal. The convenience of being able to write J with any hardware or software I get my hands on is huge. I can use it to write equations in emails, in my phone or tablet, in a windows computer with notepad as the only text editor. I cannot do that with APL. It's not too far, there are workarounds, but it is much less convenient. If you work with lots of formulas, you will understand the pain of practically needing paper or a blackboard to work with equations, then translate that to your favorite programming language to solve some problem, or to latex for publication. APL gave a wonderful solution to this, but it did not catch on.