|
On Sep 20, 2006, at 9:42 AM, Sam Roberts wrote:
Given that there are millions of web pages in existance and _javascript_ is used on a large percentage of them (certainly much larger than ANY other language :-) I would have to call it a 600lb gorilla, if you're talking about scripting languages. And if Lua syntax were "_javascript_ compatible" that would go a long way toward making an argument for it. As it is, using 'and' rather than '&&', '~=' rather than '!=' and '--' rather than '//' are just showstoppers. Sure, you could change the syntax, and in fact I was working on a translator from a subset of _javascript_ syntax to Lua syntax. But then it is neither Lua nor Javascipt. And then you have to start thinking that maybe you should just use your own _javascript_ interpreter and work at optimizing it in various ways. Which is what I am doing now. I REALLY like many things about Lua, mostly its small size and modest goals. I really respect its designers for keeping its scope small. I even respect them for holding fast to their syntax. But it's just a showstopper for a company like Apple and I'm sure we're not the only ones. ----- ~Chris And now, an important message from Microsoft: chris@marrin.com "Dear aunt, let's set so double the killer delete select all" |