Re: Proposal: BeanShell for Interactive NumericalComputing

"RaphaĆ«l Valyi" <[email protected]> Tue, 28 Nov 2006 16:27:59 +0100
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
--===============1255149796==
Content-Type: multipart/alternative; 
	boundary="----=_Part_25914_11076058.1164727679729"

------=_Part_25914_11076058.1164727679729
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Also one final comment:

IMHO, the dreamed Java scripting language would be JRuby (the Ruby language
in the JVM) associated with the functions defined in FrAid plus a few other=
s
like from the Colt package for instance. The advantage of using JRuby is
that you would get the ruby language built'in features to deal with complex
data structures (like tables, matrix, multidimensional arrays...) without
the need to build yet an other interpreter monster that will turn into
unmaintainable and thus unmaintained code sooner than you might expect.

Whether you can translate the FrAid java functions to JRuby depends on how
much time you can invest. But still it might be less than adding a whole ne=
w
syntax + backend functions to Beanshell which is nice playing with Java
syntax only. If you do so I would be very interrested in using such a
language (or JRuby addon if you prefer), unfortunately I've no time to
contribute those days I'm sorry. If you lack of time, sticking with FrAid
might be the faster.

Rapha=EBl Valyi


On 11/28/06, Rapha=EBl Valyi <[email protected]> wrote:
>
> Hi, did you look at the FrAid java scripting language? It's missing a few
> common data structures like matrix but functionnal solutions are often
> possible and a pure java back end function is always an option. For insta=
nce
> there is already a Runge Kutta solver whithout the need of matrix.
>
> What I like in FrAid is that:
> * it's more a Matlab like syntax (unlike BeanShell) (I used it in a
> simulator dedicated to Matlab users).
> * FrAid isn't a monster (unlike some other scripting languages). It rathe=
r
> follows a simple clear BNF grammar specification compiled into an
> interpreter via the JavaCC and JJTree standard tools and only focuses on
> filling the gap between the math functionnal syntax and the java language=
.
> * It comes with a bunch of built'in math functions
>
> May be you can have a look:
> http://fraid.sourceforge.net/
> there is also a set of nice applet demos such as:
> http://fraid.sourceforge.net/begin/math3d_demo.html
> and the integration with java is detailed here:
> http://fraid.sourceforge.net/java/embedding.html
>
> Best regards and let us know please...
>
> Raphael Valyi, France.
>
>
>
> On 10/30/06, Yemi I. D. Bedu <yemi-DnQzskBZRmpWk0Htik3J/[email protected] > wrote:
> >
> > Hello,
> > I just needed to comment on the concluding evaluation statement. I am a
> > computer science and have both symbolic and numerical skills. Please do
> > not confuse a simple computer programmer or software developer with a
> > computer scientist. True I am also an applied math minor, but my
> > school's curriculum has this pair well intergrated to almost a single
> > major with different perspectives of minors of computation and
> > mathematics. Also longevity is not the same as out-dated. I will go
> > through your points with a cs perspective and comment on your points.
> > Some are ok, others are relatively redundant, and a few remaining are
> > redundant with no improvement. Good day.
> >
> >
> > Yemi Bedu
> >
> > P&R Fasteners
> > 325 Pierce St
> > Somerset, NJ 08873
> > 732-302-3600
> >
> > -----Original Message-----
> > From: beanshell-developers-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > [mailto:beanshell-developers-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org ] On Behalf
> > Of
> > Bob Fischer
> > Sent: Friday, October 27, 2006 7:01 PM
> > To: beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > Subject: [Beanshell-dev] Proposal: BeanShell for Interactive
> > NumericalComputing
> >
> > Hello,
> >
> > This is a proposal on BeanShell extensions that would make it suitable
> > as the scripting language for a Java-based numerical computing
> > environment.
> >
> >
> > The Problem of Exploratory Numerical Computing
> > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> > ...
> > All feedback is welcome here.  I can't emphasize enough how big a
> > difference this system would make in the world of science if it could b=
e
> > put together; PLENTY of people would be eager to use it.  Most of the
> > pieces are there, they just need to be assembled and tweaked.  The
> > reason it has not been done yet is because most physical scientists and
> > engineers don't have the symbolic software skills, and most computer
> > scientists don't have the numerical skills.  Hence, we're still using
> > outdated systems from the early 1990's that are barely serving our need=
s
> > anymore.
> >
> >
> >
> > -----------------------------------------------------------------------=
-
> >
> > -
> > Using Tomcat but need to do more? Need to support web services,
> > security?
> > Get stuff done quickly with pre-integrated technology to make your job
> > easier Download IBM WebSphere Application Server v.1.0.1 based on Apach=
e
> >
> > Geronimo
> > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=
=3D121642
> >
> > _______________________________________________
> > Beanshell-developers mailing list
> > Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> >  https://lists.sourceforge.net/lists/listinfo/beanshell-developers
> >
> >
> > -----------------------------------------------------------------------=
--
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net 's Techsay panel and you'll get the chance to shar=
e
> > your
> > opinions on IT & business topics through brief surveys - and earn cash
> >
> > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=
=3DDEVDEV
> > _______________________________________________
> > Beanshell-developers mailing list
> > Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> > https://lists.sourceforge.net/lists/listinfo/beanshell-developers
> >
>
>

------=_Part_25914_11076058.1164727679729
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<span class=3D"gmail_quote"></span>Also one final comment:<br><br>IMHO, the=
 dreamed Java scripting language would be JRuby (the Ruby language in the J=
VM) associated with the functions defined in FrAid plus a few others like f=
rom the Colt package for instance. The advantage of using JRuby is that you=
 would get the ruby language built'in features to deal with complex data st=
ructures (like tables, matrix, multidimensional arrays...) without the need=
 to build yet an other interpreter monster that will turn into unmaintainab=
le and thus unmaintained code sooner than you might expect.
<br><br>Whether you can translate the FrAid java functions to JRuby depends=
 on how much time you can invest. But still it might be less than adding a =
whole new syntax + backend functions to Beanshell which is nice playing wit=
h Java syntax only. If you do so I would be very interrested in using such =
a&nbsp; language (or JRuby addon if you prefer), unfortunately I've no time=
 to contribute those days I'm sorry. If you lack of time, sticking with FrA=
id might be the faster.
<br><span class=3D"sg"><br>Rapha=EBl Valyi</span><div><span class=3D"e" id=
=3D"q_10f2f2bf14872111_2"><br><br><br><div><span class=3D"gmail_quote">On 1=
1/28/06, <b class=3D"gmail_sendername">Rapha=EBl Valyi</b> &lt;<a href=3D"m=
ailto:[email protected]" target=3D"_blank" onclick=3D"return top.js.OpenExtL=
ink(window,event,this)">
[email protected]</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" sty=
le=3D"border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;=
 padding-left: 1ex;">
Hi, did you look at the FrAid java scripting language? It's missing a few c=
ommon data structures like matrix but functionnal solutions are often possi=
ble and a pure java back end function is always an option. For instance the=
re is already a Runge Kutta solver whithout the need of matrix.
<br><br>What I like in FrAid is that:<br>* it's more a Matlab like syntax (=
unlike BeanShell) (I used it in a simulator dedicated to Matlab users).<br>=
* FrAid isn't a monster (unlike some other scripting languages). It rather =
follows a simple clear BNF grammar specification compiled into an interpret=
er via the JavaCC and JJTree standard tools and only focuses on filling the=
 gap between the math functionnal syntax and the java language.
<br>* It comes with a bunch of built'in math functions<br><br>May be you ca=
n have a look:<br><a href=3D"http://fraid.sourceforge.net/" target=3D"_blan=
k" onclick=3D"return top.js.OpenExtLink(window,event,this)">http://fraid.so=
urceforge.net/
</a><br>there is also a set of nice applet demos such as: <a href=3D"http:/=
/fraid.sourceforge.net/begin/math3d_demo.html" target=3D"_blank" onclick=3D=
"return top.js.OpenExtLink(window,event,this)">
http://fraid.sourceforge.net/begin/math3d_demo.html</a><br>and the integrat=
ion with java is detailed here: <a href=3D"http://fraid.sourceforge.net/jav=
a/embedding.html" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(wi=
ndow,event,this)">

http://fraid.sourceforge.net/java/embedding.html</a><br>
<br>Best regards and let us know please...<br><br>Raphael Valyi, France.<di=
v><span><br><br><br><br><div><span class=3D"gmail_quote">On 10/30/06, <b cl=
ass=3D"gmail_sendername">Yemi I. D. Bedu
</b> &lt;<a href=3D"mailto:yemi-DnQzskBZRmpWk0Htik3J/[email protected]" target=3D"_blank" onclick=3D"=
return top.js.OpenExtLink(window,event,this)">yemi-DnQzskBZRmpWk0Htik3J/[email protected]
</a>&gt; wrote:</span><blockquote class=3D"gmail_quote" style=3D"border-lef=
t: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1=
ex;">Hello,<br> I just needed to comment on the concluding evaluation state=
ment. I am a
<br>computer science and have both symbolic and numerical skills. Please do=
<br>not confuse a simple computer programmer or software developer with a<b=
r>computer scientist. True I am also an applied math minor, but my<br>

school's curriculum has this pair well intergrated to almost a single
<br>major with different perspectives of minors of computation and<br>mathe=
matics. Also longevity is not the same as out-dated. I will go<br>through y=
our points with a cs perspective and comment on your points.<br>Some are ok=
, others are relatively redundant, and a few remaining are
<br>redundant with no improvement. Good day.<br><br><br>Yemi Bedu<br><br>P&=
amp;R Fasteners<br>325 Pierce St<br>Somerset, NJ 08873<br>732-302-3600<br><=
br>-----Original Message-----<br>From: <a href=3D"mailto:beanshell-develope=
[email protected]" target=3D"_blank" onclick=3D"return top.j=
s.OpenExtLink(window,event,this)">


beanshell-developers-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br>[mailto:<a href=
=3D"mailto:beanshell-developers-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org" target=3D"_b=
lank" onclick=3D"return top.js.OpenExtLink(window,event,this)">beanshell-de=
velopers-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
</a>] On Behalf Of<br>Bob Fischer<br>
Sent: Friday, October 27, 2006 7:01 PM<br>To: <a href=3D"mailto:beanshell-d=
[email protected]" target=3D"_blank" onclick=3D"return top.js=
.OpenExtLink(window,event,this)">beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org=
</a>

<br>Subject: [Beanshell-dev] Proposal: BeanShell for Interactive<br>Numeric=
alComputing
<br><br>Hello,<br><br>This is a proposal on BeanShell extensions that would=
 make it suitable<br>as the scripting language for a Java-based numerical c=
omputing<br>environment.<br><br><br>The Problem of Exploratory Numerical Co=
mputing
<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>..=
.<br>All feedback is welcome here.&nbsp;&nbsp;I can't emphasize enough how =
big a<br>difference this system would make in the world of science if it co=
uld be<br>put together; PLENTY of people would be eager to use it.&nbsp;&nb=
sp;Most of the
<br>pieces are there, they just need to be assembled and tweaked.&nbsp;&nbs=
p;The<br>reason it has not been done yet is because most physical scientist=
s and<br>engineers don't have the symbolic software skills, and most comput=
er<br>


scientists don't have the numerical skills.&nbsp;&nbsp;Hence, we're still u=
sing<br>outdated systems from the early 1990's that are barely serving our =
needs<br>anymore.<br><br><br><br>------------------------------------------=
------------------------------
<br>-<br>Using Tomcat but need to do more? Need to support web services,<br=
>security?<br>Get stuff done quickly with pre-integrated technology to make=
 your job<br>easier Download IBM WebSphere Application Server v.1.0.1 based=
 on Apache
<br>Geronimo<br><a href=3D"http://sel.as-us.falkag.net/sel?cmd=3Dlnk&amp;ki=
d=3D120709&amp;bid=3D263057&amp;dat=3D121642" target=3D"_blank" onclick=3D"=
return top.js.OpenExtLink(window,event,this)">http://sel.as-us.falkag.net/s=
el?cmd=3Dlnk&amp;kid=3D120709&amp;bid=3D263057&amp;dat=3D121642
</a><br>_______________________________________________
<br>Beanshell-developers mailing list<br><a href=3D"mailto:Beanshell-develo=
[email protected]" target=3D"_blank" onclick=3D"return top.js.Open=
ExtLink(window,event,this)">Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><=
br>

<a href=3D"https://lists.sourceforge.net/lists/listinfo/beanshell-developer=
s" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,event,this=
)">
https://lists.sourceforge.net/lists/listinfo/beanshell-developers</a><br><b=
r>-------------------------------------------------------------------------=
<br>Take Surveys. Earn Cash. Influence the Future of IT<br>Join SourceForge=
.net


's Techsay panel and you'll get the chance to share your<br>opinions on IT =
&amp; business topics through brief surveys - and earn cash<br><a href=3D"h=
ttp://www.techsay.com/default.php?page=3Djoin.php&amp;p=3Dsourceforge&amp;C=
ID=3DDEVDEV" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(window,=
event,this)">


http://www.techsay.com/default.php?page=3Djoin.php&amp;p=3Dsourceforge&amp;=
CID=3DDEVDEV</a><br>_______________________________________________<br>Bean=
shell-developers mailing list<br><a href=3D"mailto:Beanshell-developers@lis=
ts.sourceforge.net" target=3D"_blank" onclick=3D"return top.js.OpenExtLink(=
window,event,this)">


Beanshell-developers-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org</a><br><a href=3D"https://lists.=
sourceforge.net/lists/listinfo/beanshell-developers" target=3D"_blank" oncl=
ick=3D"return top.js.OpenExtLink(window,event,this)">https://lists.sourcefo=
rge.net/lists/listinfo/beanshell-developers
</a><br></blockquote></div><br>

</span></div></blockquote></div><br>

</span></div>

------=_Part_25914_11076058.1164727679729--


--===============1255149796==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
--===============1255149796==
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

--===============1255149796==--