4 ms·
Oz is a pretty damn cool language. But I think another thing that's hampering its adoption, apart from syntax, is the lack of available libraries. I also have
by lars 16y ago
Oz is a pretty damn cool language. But I think another thing that's hampering its adoption, apart from syntax, is the lack of available libraries.
I also have to add to the praise of Concepts, Techniques, and Models of Computer Programming. I remember in particular an exercise from that book where you were asked to write a simple parser in a particular paradigm. It basically asked you to write the procedure parse(code, syntax_tree), where you'd give the code as the first parameter, and where syntax_tree was the output parameter. Once you had made that, the last sub-exercise said "Oh BTW, try calling your function with an empty code parameter, and an existing syntax tree." Lo and behold, it worked! My parser could run in reverse, and it spat out all strings that would produce the given syntax tree. This was a mind blowing experience at the time.
- swannodette 16y agoParadigms that easily permit reversible computations are worthy of extended study. It adds a whole new level of expressive power. I'm slowly discovering that the coupling of a logic paradigm with a language that supports macros opens the door to some really incredible code transformations.
- rafaelferreira 16y agoCan you remember from which chapter is this exercise?
- lars 16y agoI have the book here, and it turns out I'm misremembering. It's not an exercise, but an example. It's on pages 643-648 (in my version), in the chapter on relational programming.
- deleted 16y ago[deleted]