3 ms·
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 ma
by agumonkey 11y 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 http://lambda-the-ultimate.org/node/5075 they discuss performance.
- wenderen 11y agoJ source (GPL 3): http://www.jsoftware.com/source.htm http://www.jsoftware.com/source.htm
- mamcx 11y agoI 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 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.
- agumonkey 11y agoThis is the kind of code I remember. I think someone tried to de-obfuscate it in an article.
- mamcx 11y agoI have try to find it with not luck. Any idea in how search for it?
- JadeNB 11y agoIs it possible that you are referring to http://sblom.github.io/openj-core/ioj.htm http://sblom.github.io/openj-core/ioj.htm ? I found it linked at http://lambda-the-ultimate.org/node/5075#comment-82793 http://lambda-the-ultimate.org/node/5075#comment-82793 .