3 ms·
I know less about J, but idiomatic K/Q is definitely concatenative. I suppose the emphasis should be on idiomatic.
by murbard2 8y ago
I know less about J, but idiomatic K/Q is definitely concatenative. I suppose the emphasis should be on idiomatic.
- klibertp 8y agoOh, ok. I think the point-free J (ie. without any explicitly named variables) can be called concatenative in spirit, too. If you stick to expressions composed of monadic verbs and nouns and squint hard enough, you could say it's concatenative (but with prefix notation). On the other hand, it has these totally crazy rules of composition - called hooks and forks, different for monadic and dyadic verbs - plus adverbs which modify verbs and gerunds, and other things which together make you feel that parsing PERL is sane and straightforward in comparison to reading J. Lots of fun, though, it really feels like you're learning a language some ancient alien civilization left inside pyramids on Mars :)