4 ms·
APL has used a huge set of non ASCII characters for more than 30 years in production by large companies.
by throwaway7645 9y ago
APL has used a huge set of non ASCII characters for more than 30 years in production by large companies.
- deleted 9y ago[deleted]
- jnordwick 9y agoModern APL derivatives (namely J and K) have ditched them though in favor of pure ascii.
- sedachv 9y agoThe character set and font constraints of the early 1990s, when J (1990) and K (1993) were developed, no longer apply. APL symbols are part of Unicode. There is no technical advantage left to ASCII-only syntax for APL-derived languages.
- jnordwick 9y ago> There is no technical advantage left to ASCII-only syntax for APL-derived languages. Except for that minor technical advantage of actually being on a standard keyboard. That said, I would love standard keyboards to get more symbols. I actally like using symbols instead of words for operators, when done in a consistent and logical fashion as J and K do and unlike Perl's disaster of a syntax. Map and reduce (each and over in APL lingo, in K ' and /) should be a symbol.
- throwaway7645 9y agoAgreed on the keyboard thing. Dyalog sells an APL keyboard, but it isn't ergonomic, which I need. I think "/" is a good symbol for map as it is easy access.
- jnordwick 9y agoI really want to do a stream based language that is like APL for streams. With the current event sourcing craze right now, I definitely see modern use cases.
- sedachv 9y ago> Except for that minor technical advantage of actually being on a standard keyboard. The IBM/Unicomp APL keyboard is a standard PS/2 PC/USB HID keyboard. Literally the only special thing about the IBM/Unicomp APL keyboards is what is printed on the keycaps (which you can buy separately https://www.pckeyboard.com/page/product/USAPLSET https://www.pckeyboard.com/page/product/USAPLSET). I don't understand this - how do people on Hacker News not realize that your keyboard does not determine your character encoding? You can easily remap your keys to whatever you want, have multiple layouts for human and computer programming languages, change the modifier and functions keys, whatever you want. All with the keyboard you already have; laptop, external, it doesn't matter. Somehow multiple layouts are not a big deal for multi-lingual people, why is it so confusing for programmers?
- jnordwick 9y ago> Somehow multiple layouts are not a big deal for multi-lingual people, why is it so confusing for programmers? I don't know. I would totally do it if others did it. There just isn't a critical mass enough. Maybe the next APLish language needs to have both modes of display similar to how java editors fold old constructs into new ones. That would allow the extra symbols to be slowly adopted.
- throwaway7645 9y agoSounds like a lot of fluff added because some people want a slower ramp. I think there just needs to be more example material out there for beginners.
- throwaway7645 9y agoPeople realize that of course, but I don't think simply buying keycaps is an option for everyone. Will they work with my slightly non standard ergonomic keyboard?
- sedachv 9y agoNone of my keyboards have Russian keycaps on them. I still somehow manage to type in Russian. Do you look at your keycaps when typing? If you want to, you can put stickers on your keycaps (you can purchase sets for foreign languages, and for APL), or use a quality permanent marker. A reference chart is also an option.
- throwaway7645 9y agoTrue that J & K do, but Dyalog doesn't and is pretty modern in that it is still very actively developed...interfaces to Python/R, runs on Raspberry Pi, hooks into .NET, can run on GPU...etc.