Изучение J/K/APL [закрытый]

def floatstrip(x):
    if x == int(x):
        return str(int(x))
    else:
        return str(x)

знать, тем не менее, что Python представляет 0.1 как неточное плавание в моей системе 0.10000000000000001.

7
задан Yasir Arsanukaev 26 May 2010 в 10:44
поделиться

3 ответа

Given the natures of the individual languages, and the availability of material, I'm going to go with J.

The current J interpreter is not open source, but the language spec is. So should the official J interpreter no longer be free, an open source project could implement it.

K appears to be dead, and replaced by Q. All licenses on it appear to be proprietary, and the interpreter appears to be harder to find (as they are trying to sell kdb, not Q).

I can't find a version of APL to use.

2
ответ дан 6 December 2019 в 14:06
поделиться

Take a look at the APL faq under the section: Where can I find APL for machine X?

There's also a wiki that has info at http://aplwiki.com/Frontpage

2
ответ дан 6 December 2019 в 14:06
поделиться

Вы всегда можете попробовать A +. Бесплатно с http://www.aplusdev.org/

Этот язык APL превратился в J и Q

1
ответ дан 6 December 2019 в 14:06
поделиться