|
|
|
|
|
by richard_shelton
2883 days ago
|
|
So called concatenative language is also a combinator-oriented language in a somewhat restricted form. Here are some historic examples of combinator-oriented languages: APL family and Backus's FP/FL (direct inspiration for the author of Joy). The fact that you denote composition of the functions with a white spaces is just a syntactic sugar. In the case of combinator-oriented language you work with various functional forms -- combinators, not just with composition, so you need to use more symbols to denote that. And in practice it's hard to find a concatenative language which would be used seriously, not just in a few hobby projects. In the same time there are impressive examples of modern combinator-oriented languages like Faust [1] and Spiral [2]. Still, the whole "concatenative" movement is interesting as a try to formalize the semantics and "improve" Forth language. See also Postscript and Henry Backer's articles [3]. [1] http://faust.grame.fr/ [2] http://www.spiral.net/ [3] http://home.pipeline.com/~hbaker1/ForthStack.html |
|
One could argue that piping commands in the shell is a very serious use of concatenative syntax.