User loginNavigation |
Concatenation Operators in UnimperativeThe Unimperative language I posted about nearly a year ago has been reborn as a "concatenative" language, ala Joy. ( personally I would prefer to call it a compositional language, but who am I to buck trends ). The Unimperative language is also a tiny subset of C++, so I am trying to decide on the concatenation operators. Currently I support separate left-concatenation (f << g == f . g) and right-concatenation (g >> f == f . g). In the end this gets a bit clumsy, and I find hard to read. So I want to overload the comma operator. My question is this: which concatenative form (left or right) should the comma overload to? In other words should I treat it as a left to right sequencing operator, or as a composition operator? By cdiggins at 2006-02-14 15:41 | LtU Forum | previous forum topic | next forum topic | other blogs | 6522 reads
|
Browse archives
Active forum topics |
Recent comments
22 weeks 6 days ago
22 weeks 6 days ago
22 weeks 6 days ago
45 weeks 16 hours ago
49 weeks 2 days ago
50 weeks 6 days ago
50 weeks 6 days ago
1 year 1 week ago
1 year 6 weeks ago
1 year 6 weeks ago