Subj : Re: [Rhino] can you add default getters/setters? To : Mike C. From : Brendan Eich Date : Fri May 07 2004 07:00 pm Mike C. wrote: > "Igor Bukanov" wrote > >>It would require substantial changes to parsing and code generation. > > Oops I thought it would be easier, like just a minor change in parsing and > an implementation for the assignement operator in ScriptRuntime. I will take > a look in the source code myself, but I tend to trust you when you're saying > its not that simple. > > >>But why do you need this feature? Do you want to implement ASP support in > > Java? > Yes I was looking for a mixed solution ASP - JSP and being able to share > session variables between them. So far I can do this using the MS ASP engine > and GNUJSP under IIS and MSJVM, and now I was thinking to move everything to > Java. Note that SpiderMonkey supports foo(i) and o.item(j) on the left of assignment operators, for native functions only. Grep for JSOP_SETCALL. /be .