Re: Concatenative Programming Languages

2016-03-30 Thread BLM768 via Digitalmars-d
On Wednesday, 30 March 2016 at 22:20:02 UTC, John Colvin wrote: import std.functional : pipe; alias allThree = pipe!(foo, bar, baz); :) Interesting, but I'd call that a concatenative sub-language at most. ;) There's certainly some conceptual overlap between concatenative languages and D un

Re: Concatenative Programming Languages

2016-03-30 Thread John Colvin via Digitalmars-d
On Wednesday, 30 March 2016 at 22:14:11 UTC, BLM768 wrote: On Wednesday, 30 March 2016 at 20:53:02 UTC, Shammah Chancellor wrote: I just stumbled on this wikipedia article: https://en.wikipedia.org/wiki/Concatenative_programming_language Seems like D falls under that category? -S. Not reall

Re: Concatenative Programming Languages

2016-03-30 Thread BLM768 via Digitalmars-d
On Wednesday, 30 March 2016 at 20:53:02 UTC, Shammah Chancellor wrote: I just stumbled on this wikipedia article: https://en.wikipedia.org/wiki/Concatenative_programming_language Seems like D falls under that category? -S. Not really. UFCS allows the syntax "x.foo.bar.baz", which is similar

Concatenative Programming Languages

2016-03-30 Thread Shammah Chancellor via Digitalmars-d
I just stumbled on this wikipedia article: https://en.wikipedia.org/wiki/Concatenative_programming_language Seems like D falls under that category? -S.