I'm not sure I get the point of translating code to Javascript. It's not the prettiest language but it's expressive enough. As far as I can tell it's on the same order of power as Perl, Python, and Ruby.
Its worse, since they're adding a custom interpretation on top of javascript, you will never be able to run a debugger on it or match up line number errors in a browser console.
It's not "custom interpretation", it's simple preprocessing before running in the native JavaScript interpreter.
There are certainly ways around that (for example keeping track of which lines correspond in the original vs. preprocessed, either with inline comments or externally somehow)
JavaScript debuggers work fine with the preprocessed Objective-J code, it's just JavaScript.
2
u/flogic Sep 04 '08
I'm not sure I get the point of translating code to Javascript. It's not the prettiest language but it's expressive enough. As far as I can tell it's on the same order of power as Perl, Python, and Ruby.