I managed to check the bsh-datastructures that describe the bsh source
statements - it seems to be very huge and heavy !
what i mean is that every statement is disricbed by a plenty of Hashtables
... and other stuff which at glance doesnt seem to be very elegant ... and
maybe even a bit redundant
Why is that so ?
Or was I just mislead ?
On Thu, Jan 03, 2002 at 11:11:37AM +0200, Sergey Lopatin wrote:
> I managed to check the bsh-datastructures that describe the bsh source
> statements - it seems to be very huge and heavy !
> what i mean is that every statement is disricbed by a plenty of Hashtables
> ... and other stuff which at glance doesnt seem to be very elegant ... and
> maybe even a bit redundant
> Why is that so ?
> Or was I just mislead ?
Can you give me an example?
I assume by the source statements you mean the ASTs? (BSHxxx files?)
The structure of the Parser and BSHxxx.java files is partially determined
by the grammar and parser generator. But I'm not aware of any redundancy.
From: Francisco Herrador <fherrador@st...> - 2002-01-07 08:37:06
Looks like the answer to my last question about getting up the
AWTRemoteApplet (Remote interpreter interface) was simply to edit
awtconsole.html as follows ...
<applet height=80% width=80%
the change is the ".class" part on "code=". This way the Applet works 100%
Start-up an bsh.Interpreter or bsh.Console
server(port_num); // (this runs httpd on port_num and serverd on port_num+1
(also a telnet interface))
and finally point your browser to http://localhost:port_num to get the
I propose to patch that file (awtconsole.html on src/bsh/util/lib/ in the
next distribution if possible.
Thanks for your nice work.