-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathmsg00007.html
129 lines (108 loc) · 4.31 KB
/
msg00007.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<!-- MHonArc v2.3.3 -->
<!--X-Subject: Re: Java compatibility [compilers, etc.] -->
<!--X-From: Max Gilead <[email protected]> -->
<!--X-Date: Tue, 14 Mar 2000 19:05:17 -0600 (CST) -->
<!--X-Message-Id: [email protected] -->
<!--X-Content-Type: text/plain -->
<!--X-Reference: [email protected] -->
<!--X-Reference: [email protected] -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML//EN">
<HTML>
<HEAD>
<TITLE>Re: Java compatibility [compilers, etc.]</TITLE>
<LINK REV="made" HREF="mailto:[email protected]">
</HEAD>
<BODY>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->
<HR>
[<A HREF="msg00026.html">Date Prev</A>][<A HREF="msg00028.html">Date Next</A>][<A HREF="msg00004.html">Thread Prev</A>][<A HREF="msg00028.html">Thread Next</A>][<A HREF="maillist.html#00007">Date Index</A>][<A HREF="threads.html#00007">Thread Index</A>]
<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>Re: Java compatibility [compilers, etc.]</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: BeanShell developers <<A HREF="mailto:[email protected]">[email protected]</A>></LI>
<LI><em>Subject</em>: Re: Java compatibility [compilers, etc.]</LI>
<LI><em>From</em>: Max Gilead <<A HREF="mailto:[email protected]">[email protected]</A>></LI>
<LI><em>Date</em>: Wed, 15 Mar 2000 02:05:02 +0100</LI>
<LI><em>References</em>: <<A HREF="msg00005.html">[email protected]</A>> <<A HREF="msg00004.html">[email protected]</A>></LI>
<LI><em>Reply-To</em>: Max Gilead <<A HREF="mailto:[email protected]">[email protected]</A>></LI>
<LI><em>Sender</em>: <A HREF="mailto:[email protected]">[email protected]</A></LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
Hi!
Well, I have messed up a little in my previous post :-)
Pat wrote:
> As far as using the JDK compiler the only reason I'd shy away from that is
> that we can't freely distribute it... If we can find an alternative we might
> consider that.
It's distributed in any JDK so it's not a problem. If it was, there is guavac or
jikes. Or (ideally) it can be left for user to choose he's preferred compiler.
> That is
> assuming we left the body of the code as interpreted.
Does it mean that you're talking about wrapping bsh script inside regular java
class? If I understand it right, you suggest that with this approach compiler
takes all methods defined in bsh script, creates a java class for it with
methods, constructors etc so that you can use it as a regular java class (eg.
extend it)? If so, it's THE solution IMHO.
> Another option that I've thought about in the past would be to have bsh be
> capable of reading a bsh script and spewing compilable Java code.
This would be the second thing that would make bsh a miracle :-)
Bye,
Max
--
Max Gilead ([email protected]) <A HREF="http://3d.linart.krakow.pl/OfficinaArtificialis">http://3d.linart.krakow.pl/OfficinaArtificialis</A>
-----------------------------------------------------------------------------
</PRE>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<!--X-Follow-Ups-End-->
<!--X-References-->
<UL><LI><STRONG>References</STRONG>:
<UL>
<LI><STRONG><A NAME="00005" HREF="msg00005.html">Java compatibility idea</A></STRONG>
<UL><LI><EM>From:</EM> Max Gilead <[email protected]></LI></UL></LI>
<LI><STRONG><A NAME="00004" HREF="msg00004.html">Re: Java compatibility [compilers, etc.]</A></STRONG>
<UL><LI><EM>From:</EM> Pat <[email protected]></LI></UL></LI>
</UL></LI></UL>
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00026.html">Re: Manual</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00028.html">Editor with BeanShell support</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00004.html">Re: Java compatibility [compilers, etc.]</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00028.html">Editor with BeanShell support</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="maillist.html#00007"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="threads.html#00007"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</BODY>
</HTML>