archives

Timber (O'Haskellish) has been released

Old news, but didn't see it mentioned on LtU yet. There have been a few revisions released already:

2009 May 19: The Timber compiler 1.0.3 released.

The overall purpose of a Timber program is to react to events sent to it from its execution environment. This process is potentially infinite, and the order of external events is also not generally known in advance.

To capture this intuition, Timber defines its primary run-time structure to be a set of interconnected reactive objects, that each encapsulate a piece of the global program state.

How to respect language styles while translating?

There's a fair number of projects that take one highish-level language in and spit out another (often it seems to be JavaScript is the target, gosh i wonder why). But these translations often result in pretty non-human-readable output that doesn't respect the destination language's culture and commonly used style. That makes debugging harder, I think. So I wonder if there are any good approaches to bridging this gap? Ways of taking in e.g. Scheme and spitting out e.g. JavaScript that doesn't look horrible or confusing. (Presumably it depends on how far apart the two languages are in the first place.) Thanks for any thoughts.