Skip to content

Commit d375b4e

Browse files
committed
Revamp of the original website
1 parent d9ff6a8 commit d375b4e

File tree

445 files changed

+82917
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

445 files changed

+82917
-0
lines changed

BeanShellDialects.html

Lines changed: 417 additions & 0 deletions
Large diffs are not rendered by default.

BeanShellRoadmap.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<body>
5+
6+
<h1>Proposals and Areas of Discussion for BeanShell 2.x - 3.0</h1>
7+
8+
The following are topics of discussion and potential features for future
9+
BeanShell releases. All of these are speculative and no plans have been made
10+
to implement them. Please join the
11+
<a href="http://beanshell.org/contact.html">mailing list</a>
12+
or contact [email protected].
13+
14+
<h3>
15+
<ul>
16+
<li>
17+
<a href="BeanShellDialects.html">Pluggable language syntax extensions:
18+
BeanShell Dialects</a>
19+
<li>Minor core language enhancements: closures, long lines, native
20+
list and collections syntax, etc.
21+
<li>Compiled scripts, partial or complete
22+
bytecode generation for better performance.
23+
<li>Limiting script actions, security: limiting the classes and methods a
24+
script can invoke or define. Interaction with real security policies.
25+
<li>Completing or better defining the BeanShell scripted object model.
26+
<li> ...
27+
</h3>
28+
29+
</ul>

BeanShellSlides.pdf

978 KB
Binary file not shown.

Changes.html

Lines changed: 1133 additions & 0 deletions
Large diffs are not rendered by default.

CodeMap.html

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2+
<html>
3+
4+
<body bgcolog=#ffffff>
5+
6+
<h1>Map to the BeanShell Source</h1>
7+
8+
This is a rough guide to the BeanShell source code. See comments in the
9+
individual files for more information.
10+
<p>
11+
12+
<h2>Package Areas</h2>
13+
<ul>
14+
<li><b>bsh</b>
15+
Primary bsh source package
16+
<li><b>bsh/util</b>
17+
Optional bsh utilities
18+
<li><b>bsh/commands</b>
19+
Bsh scripts and Java code which implement Bsh commands
20+
<li><b>bsh/lib</b>
21+
Bsh support files
22+
</ul>
23+
24+
<h3>The bsh package</h3>
25+
26+
<b>Parse Tree Classes</b>
27+
<ul>
28+
<li><b>BSH*.java</b>
29+
<br>
30+
<em>e.g. BSHAllocationExpression.java,
31+
BSHAmbiguousName.java, BSHArguments.java</em>
32+
<p>
33+
34+
These are the abstract syntax tree nodes (subclasses of SimpleNode) -
35+
the internally compiled form of a bsh script. Instances of these nodes
36+
are created by the parser to represent the bsh syntax read from a script.
37+
<p>
38+
The original class structure was created by JJTree but these files
39+
are *not* automatically generated any longer. They have been implemented
40+
with the real code that executes their syntax.
41+
<p>
42+
43+
Most BSH nodes are referenced only through their eval() method which
44+
causes them to evaluate any child nodes and execute their behavior,
45+
returning an object to the caller.
46+
<p>
47+
48+
<li><b>SimpleNode.java</b>
49+
Base class for BSH nodes.
50+
51+
<li><b>ReturnControl.java</b>
52+
Support for control flow of a return statement.
53+
</ul>
54+
55+
<b>I/O support</b>
56+
<ul>
57+
<li><b>CommandLineInputStream.java</b>
58+
Basic support for command line input.
59+
<li><b>Console.java</b>
60+
Support for starting a GUI console.
61+
<li><b>ConsoleInterface.java</b>
62+
<li><b>File.java</b>
63+
File I/O that works relative to the bsh notion of the working directory.
64+
<li><b>ExternalVars.java</b>
65+
Interface for setting/getting variables on a bsh interpreter.
66+
</ul>
67+
68+
<b>Exceptions</b>
69+
<ul>
70+
<li><b>EvalError.java</b>
71+
A problem occurred while parsing or running a bsh script.
72+
<li><b>InterpreterError.java</b>
73+
A fatal internal error occurred.
74+
<li><b>TargetError.java</b>
75+
The target of a bsh operation threw an exception which the script is
76+
allowed to handle.
77+
</ul>
78+
79+
<b>Name Resolution Support</b>
80+
<ul>
81+
<li><b>Name.java</b>
82+
<li><b>NameSpace.java</b>
83+
<li><b>ForBodyNameSpace.java</b>
84+
</ul>
85+
86+
<b>Object / Primitive Wrappers</b>
87+
<ul>
88+
<li><b>Primitive.java</b>
89+
Wraps a primitive numeric value, char, boolean, void, or null.
90+
<li><b>LHS.java</b>
91+
Wraps the left hand side of an assignment
92+
</ul>
93+
94+
<b>Reflection Support</b>
95+
<ul>
96+
<li><b>Reflect.java</b>
97+
<li><b>ReflectError.java</b>
98+
</ul>
99+
100+
101+
<b>Bsh Scripted Object Support</b>
102+
<ul>
103+
<li><b>This.java</b>
104+
The type of a bsh scripted object (a 'this' reference).
105+
<li><b>JThis.java</b>
106+
For backwards compatability with jdk1.2. Adds explicit Swing support.
107+
<li><b>XThis.java</b>
108+
Extended 'this' with support for the new jdk1.3 proxy mechanism.
109+
</ul>
110+
111+
<b>Automatically Generated Files</b>
112+
<br>
113+
The following files are automatically generated by JTree or JavaCC and should
114+
*not* be modified directly.
115+
<ul>
116+
<li><b>Interpreter.java</b>
117+
This is the actual parser class.
118+
<li><b>ASCII_UCodeESC_CharStream.java</b>
119+
<li><b>TokenMgrError.java</b>
120+
<li><b>Token.java</b>
121+
<li><b>ParseException.java</b>
122+
<li><b>InterpreterConstants.java</b>
123+
<li><b>InterpreterTokenManager.java</b>
124+
<li><b>InterpreterTreeConstants.java</b>
125+
<li><b>JJTInterpreterState.java</b>
126+
<li><b>Node.java</b>
127+
</ul>
128+
<p>

JavaOne2005.pdf

826 KB
Binary file not shown.

awtbshdemo.html

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
<html>
3+
4+
<head>
5+
<title>BeanShell Demo Applet</title>
6+
</head>
7+
8+
<body>
9+
<h2>BeanShell Demo Applet - AWT Console</h2>
10+
<em>You may have to click in the console window and hit return to get the
11+
first prompt.</em>
12+
13+
<applet height="250" width="500" code="bsh.util.AWTDemoApplet" archive="bsh-20b4-13.jar">
14+
Your browser will not display the applet, sorry.
15+
</applet>
16+
17+
<p>
18+
<hr>
19+
For more information see the BeanShell home page:
20+
<a href="http://www.beanshell.org">http://www.beanshell.org</a>
21+
22+
</body>
23+
24+
</html>

beany.html

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6+
<title>BeanShell - Beany The JavaBean</title>
7+
<link rel="shortcut icon" href="favicon.ico">
8+
<link href="css/my_styles.css" rel="stylesheet" type="text/css">
9+
</head>
10+
11+
<body>
12+
<aside>
13+
<nav>
14+
<ul class="menu">
15+
16+
<li><a href="home.html">Home</a>
17+
</li>
18+
<li><a href="intro.html">Intro</a>
19+
</li>
20+
<li> <a href="docs.html">Docs</a>
21+
</li>
22+
<li> <a href="download.html">Download</a>
23+
</li>
24+
<li> <a href="contact.html">Contact</a>
25+
</li>
26+
<li> <a href="https://github.com/beanshell/beanshell/wiki">
27+
Community Wiki</a>
28+
</li>
29+
<li> <a href="developer.html">Developer</a>
30+
</li>
31+
<li> <a href="license.html">License</a>
32+
</li>
33+
<li> <a href="beany.html">Beany</a>
34+
</li>
35+
<li> <a href="http://www.amazon.com/exec/obidos/ASIN/0596002858">
36+
<img alt="Learning Java" src="images/lj2.png" width="100px"> <br>
37+
<span class="small"> Check out my book:<br>
38+
Learning Java,<br>
39+
O'Reilly &amp; Associates </span>
40+
</a>
41+
</li>
42+
</ul>
43+
</nav>
44+
</aside>
45+
46+
<article>
47+
<section>
48+
<title>Beany The JavaBean</title>
49+
50+
<h1>Beany the JavaBean</h1>
51+
<img src="images/beany2-200.jpg">
52+
<br>
53+
<h2>Who is Beany and what is he all about you ask?</h2>
54+
<ul>
55+
<li>Beany is the BeanShell mascot. He is a JavaBean.</li>
56+
<li>Beany is in a constant state of surprise and amazement at the features
57+
of BeanShell; hence his gaping maw.</li>
58+
<li>Beany never lies. He always tells the truth about bugs.</li>
59+
<li>Beany is lovable. By all means, feel free to love him.</li>
60+
</ul>
61+
<p><b>Beany can be good:</b></p>
62+
<img src="images/beanyover5-medium.png">
63+
<p><b>Beany can be bad:</b>
64+
</section>
65+
</p>
66+
<img src="images/beanylicense.jpg">
67+
68+
<p>Beany was created with <a href="http://www.gimp.org/">The Gimp</a></p>
69+
70+
<p>If you'd be interested in a Beany t-shirt, should they ever be produced,
71+
<a href="mailto:[email protected]">let me know</a>.</p>
72+
</section>
73+
74+
</article>
75+
</body>
76+
77+
</html>

bookplug.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2+
3+
<p>
4+
<img align=left src="BOGUSIMAGE">
5+
If you like BeanShell check out my book:
6+
<a href="http://www.ora.com/catalog/learnjava2/">Learning Java, O'Reilly & Associates, 2nd edition</a>.
7+
<p>
8+

0 commit comments

Comments
 (0)