News for hackers. Stuff that matters.
Re:Ode to J by klipt on Friday April 10, 2020 @01:35PM (#22835260)
Are there any open source compilers for J (and similar languages)?
Re:Ode to J by moonchild on Friday April 10, 2020 @02:07PM (#22835679)
J[1], ngn/k[2], oK[3], kona[4], and GNU APL[5] are the big oss interpreters. The main closed-source ones are Dyalog APL, Kx k, and Shakti k (which are still free for non-commercial use).

1: https://github.com/jsoftware/

2: https://bitbucket.org/ngn/k/src/master/

3: https://github.com/JohnEarnest/ok

4: https://github.com/kevinlawler/kona

5: https://www.gnu.org/software/apl/

Re:Ode to J by arabelladonna on Friday April 10, 2020 @02:06PM (#22835668)
Re:Ode to J by vchak1 on Friday April 10, 2020 @03:16PM (#22836381)
I'd also suggest looking at Pike's ivy as a simple example of an apl like system in go. https://github.com/robpike/ivy
Re:Ode to J by moonchild on Friday April 10, 2020 @07:41PM (#22838502)
I would argue that, being stylistically inconsistent with the way most apl is implemented, that's actually not such a great resource. I found 'whitney c' surprisingly approachable, with just a little patience; despite no prior experience with it, I was able to make an apl-ish interpreter in 7kb and a few hours. If you're curious about implementation details, that might be a more worthwhile exercise. Be sure to check out the parsing section[1] of the J dictionary.

1: https://www.jsoftware.com/help/dictionary/dicte.htm