Started: 13 July 2011, 2:24 UTC
Finished: 13 July 2011, 2:27 UTC

Imperative-looking syntax for Mercury?

Keyword: idea

I wonder to what extent it would be useful to make a programming language that looks familiar to programmers used to imperative (possibly object-oriented) programming, but which is actually a logic programming language with a whole lot of syntactic sugar and syntactic salt (and maybe some syntactic cinnamon as well). With some care, it should be possible to make the obvious imperative-like things act in the obvious way, while not getting in the way of the logic-programming things where they're an advantage.

Of course, the real biggest problem of a new language is that it will lack libraries and frameworks. Given that Mercury compiles to JVM, perhaps the JVM libraries could be used... except they will be alien to the language.


Or maybe I'm re-inventing Erlang, poorly, although Erlang is based on functional programming rather than logic programming.

Slow-cooker chicken recipe
   
Bread-maker cake recipe

comment by:
email: (will not be displayed)
6 times 5:


Home
Blog
Random
E-mail
IM


[æ]