3 ms·
> assembly language is a concatenative language Are most? I've always considered them more procedural than anything else. Variables and gotos.
by e12e 8y ago
> assembly language is a concatenative language
Are most? I've always considered them more procedural than anything else. Variables and gotos.
- yorwba 8y agoConcatenative just means that concatenating two programs yields a new program and that is the major method of program construction. Most Forth dialects also support variables, gotos and procedures; but it's all in a concatenative way.
- e12e 8y agoIs that so? According to: https://en.m.wikipedia.org/wiki/Concatenative_programming_language https://en.m.wikipedia.org/wiki/Concatenative_programming_la... there's a little more to it. I suppose if you squint a bit, any push-jump-ret-pop sequence is concatenative - but I'm not sure if I agree that the main way to go from a few general assembly language programs that each read from a file, count words, and sums integers - to a program that counts words in a file is to simply concatenate them?