Re: Hacking BeanShell with JavaCC

fschmidt <[email protected]> Wed, 16 Apr 2008 22:39:15 -0700 (PDT)
Newsgroups gmane.comp.java.beanshell.devel
Message-ID <[email protected]>
I think the best way to do this would be to add a general way for users to
define the meaning of operators for a class/object similar to how Python
does it.  This shouldn't be hard for BeanShell.

By the way, since there is no progress on BeanShell, I made a BeanShell fork
here:

http://code.google.com/p/beanshell2/

Anyone is welcome to contribute.  I did implement long string literals:

http://code.google.com/p/beanshell2/issues/detail?id=20&can=1

And I suggested a simpler way of creating collections here:

http://code.google.com/p/beanshell2/issues/detail?id=14&can=1

I actually could use a BeanShell based MATLAB clone, so when you have time
to work on this, let me know and I can implement the operator overloading
described above.



Bob Fischer wrote:
> 
> I would love to see a BeanShell-based MATLAB replacement.  I have all  
> the computational components needed for it, I just need a good syntax  
> from within BeanShell; that includes matrix notation (similar to the  
> lists described here), as well as a bunch of funny infix operators.   
> With this base, it should not be hard.
> 

-- 
View this message in context: http://www.nabble.com/Hacking-BeanShell-with-JavaCC-tp16715411p16722790.html
Sent from the BeanShell - Dev mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone