Re: Loading .java Files
<[email protected]> Sun, 26 Jun 2011 22:24:45 +0200
| Newsgroups | gmane.comp.java.beanshell.user |
|---|---|
| Message-ID | <D68D3EBEB90947A58A6E4DB9FB7B26E1@msrvcn04> |
> ------------
> BSH has java-incompatible syntax. A IDE that is expecting java will
> produce errors when given bsh code that doesn't conform to java.
> For example a method with no class. Or using the {} notation
> to access a
> Hash or bsh iterators, typeless variables, closers and
> anything else in bsh
> which isnt java.
Yes. Java isn't Bsh compatible.
But Bsh is Java compatible? I mean that Bsh can eval successfully every
script in Java-1.4 syntax?
> bsh is what it is. If you believe that is 'Not that elegant'
> that's an opinion.
I doesn't meant Bsh with "not elegant". I meant that my code removes the
"class {}" lines before loading the script.
> And no, the original bsh is no longer in development, but
> 'beanshell2' was
> forked and is in development by another set of authors.
Hm, I cannot find any docs at http://code.google.com/p/beanshell2/.
What are the enhancements to the original Bsh?
Thank you!
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2