<p>I am looking for a powerful meta-language to describa behaviour for an application i intend to use in offline mode (google-gears + javascript) and server side sqlite + (php/ruby/java etc) and looking for a good format to describe the model's behaviour which can be easily converted to the target languages.
Am I completely off track, and there is a much better way?</p>

[{'answer_id': 42675, 'author': 'Artem Tikhomirov', 'author_id': 2313, 'author_profile': 'https://Stackoverflow.com/users/2313', 'pm_score': 0, 'selected': False, 'text': '<p>Maybe you should consider using <a href="http://www.codeplex.com/scriptsharp" rel="nofollow noreferrer">Script#</a>?</p>\n'}, {'answer_id': 42720, 'author': 'Jack M.', 'author_id': 3421, 'author_profile': 'https://Stackoverflow.com/users/3421', 'pm_score': 1, 'selected': False, 'text': '<p>Have you looked at <a href="http://code.google.com/webtoolkit/" rel="nofollow noreferrer">Google Web Toolkit</a>?  GWT allows you to write server side Java objects which get translated into Javascript for you.  This allows you to not deal with the browser quirks at all.\nI\'m not sure how well integrated the Gears and GWT projects are, however.  If it isn\'t integrated yet, I\'m sure it will be in fairly short order.</p>\n\n<p>Edit:  This is probably more of an alternate way of doing what you\'re looking for, rather than a suggestion for a meta language.</p>\n'}, {'answer_id': 213399, 'author': 'Zachary Yates', 'author_id': 8360, 'author_profile': 'https://Stackoverflow.com/users/8360', 'pm_score': 1, 'selected': False, 'text': '<p>This may be out of your scope, but maybe you should consider <a href="http://www.sproutcore.com/" rel="nofollow noreferrer">sproutcore</a>.  From what I understand, it\'s a bundled up MVC architecture that can be backend-agnostic.</p>\n\n<p>I don\'t have much experience with it, but it sounds like some of the consumers (apple\'s MobileMe for instance) want to do the same thing you do.</p>\n'}]
['https://Stackoverflow.com/questions/42610', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3906/']