Re: Status of project and adding 1.5 generics
Paul Reavis <[email protected]> Tue, 9 Dec 2008 08:34:43 -0500
| Newsgroups | gmane.comp.java.beanshell.devel |
|---|---|
| Message-ID | <[email protected]> |
--===============6439782543581005341== Content-Type: multipart/alternative; boundary=Apple-Mail-39--733102866 --Apple-Mail-39--733102866 Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Dec 9, 2008, at 7:01 AM, David A. Lee wrote: > I'm considering shifting over to "pure java" by natively invoking > the javac compiler, loading the .class files and executing them > with reflection. The syntax wont be as nice, and its a non-trivial > job to implement this, but in the long run it might be a better > architecture then relying on an 'abandoned' platform no matter how > good that is. There is a "java" scripting implementation for the Java scripting framework (which is included in v1.6). It does just what you describe. I haven't messed with it much since the prospect of writing real Java classes instead of one-liner scripts wasn't appetizing. It would be more interesting for adding a quasi-SDE feature to our platform where java classes are built and loaded on the fly. --Apple-Mail-39--733102866 Content-Type: text/html; charset=US-ASCII Content-Transfer-Encoding: quoted-printable <html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; = -webkit-line-break: after-white-space; "><br><div><div>On Dec 9, 2008, = at 7:01 AM, David A. Lee wrote:</div><br = class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><span = class=3D"Apple-style-span" style=3D"border-collapse: separate; color: = rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: = normal; font-variant: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; orphans: 2; text-align: auto; text-indent: = 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: = 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0; "><div bgcolor=3D"#ffffff"><div><span = class=3D"Apple-style-span" style=3D"color: rgb(20, 79, 174); = -webkit-text-stroke-width: -1; ">I'm considering shifting over to "pure = java" by natively invoking the javac compiler, loading the .class files = and executing them</span></div><div><font size=3D"2">with = reflection. The syntax wont be as nice, and its a = non-trivial job to implement this, but in the long run it might be a = better</font></div><div><font size=3D"2">architecture then relying on an = 'abandoned' platform no matter how good that = is.</font></div></div></span></blockquote><div><br></div>There is a = "java" scripting implementation for the Java scripting framework (which = is included in v1.6). It does just what you describe. I haven't messed = with it much since the prospect of writing real Java classes instead of = one-liner scripts wasn't appetizing. It would be more interesting for = adding a quasi-SDE feature to our platform where java classes are built = and loaded on the fly.</div><div><br></div></body></html>= --Apple-Mail-39--733102866-- --===============6439782543581005341== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ --===============6439782543581005341== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Beanshell-developers mailing list Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/beanshell-developers --===============6439782543581005341==--