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

It's a one-page draft of an interpreter for a subset of a language, by one of the main designers involved with it, written to the initial designer. It's written in C, but idiomatically written as closely to the language as possible. Having comments would be pretty strange, honestly.

There's an unpacked and commented version of it here, FWIW: http://www.kuro5hin.org/comments/2002/8/30/175531/763/1#1



Yeah, except he does the same thing in every language, even in written english.

I'm not criticizing it anyway. His K is very clean... usually.

edit: I do wish he'd be a little less terse in the code for interfacing with other C code. Just as a favor to us normal humans.


Agreed. I think it's atrocious C style, it just makes sense for people who write J natively to style the C that way in a context where it will be understood.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: