Hacker News new | ask | show | jobs
by agumonkey 4039 days ago
IIRC the interpreter is thin as hell. Almost no syntax or interpretation overhead. Also the semantics of J makes it very mechanical sympathetic. Some kind of macros based wrappers to express loops.

ps: I'm not sure it was J .. maybe K. And I can't find the C source anymore. Haa...

pps: check this http://lambda-the-ultimate.org/node/5075 they discuss performance.

2 comments

I post that!

I'm learning to build interpreters for a toy relational language (in F#). So a fast intepreter appeal to me.

I look at http://keiapl.org/rhui/remember.htm#incunabulum but a)I don't know C b)Don't know J so wonder if exist a easy-to-understand interpreter of J somewhere? The ones I look (in the link above) are very dense. Full of code-golf.

This is the kind of code I remember. I think someone tried to de-obfuscate it in an article.
Is it possible that you are referring to http://sblom.github.io/openj-core/ioj.htm ? I found it linked at http://lambda-the-ultimate.org/node/5075#comment-82793 .
I have try to find it with not luck. Any idea in how search for it?