BeanShell
Paradigm(s) | Object-oriented, scripting |
---|---|
Appeared in | 2000 |
Designed by | JCP |
Stable release | 1.3.0 |
Preview release | 2.0b4 |
Typing discipline | Dynamic, strong |
Influenced by | Java |
Platform | JVM |
OS | Cross-platform |
License | LGPL |
Website | www.beanshell.org |
|
BeanShell is a Java-like scripting language, invented by Patrick Niemeyer. It runs in the Java Runtime Environment (JRE) and uses Java syntax, in addition to scripting commands and syntax.
Features
While BeanShell allows its users to define functions that can be called from within a script, its underpinning philosophy has been to not pollute its syntax with too many extensions and "syntactic sugar", thereby ensuring that code written for a Java compiler can almost always be executed interpretively by BeanShell without any changes and, almost just as much, vice versa. This makes BeanShell a popular testing and debugging tool.
BeanShell supports scripted objects as simple method closures like those in Perl and JavaScript.
BeanShell is an open source project and has been incorporated into many applications, such as OpenOffice.org, Apache Ant, WebLogic Server Application Server, jEdit, JUMP GIS and many others. BeanShell provides an easy to integrate API. It can also be run in command-line mode or within its own graphical environment.
History
BeanShell was undergoing standardization through the Java Community Process (JCP) under JSR 274.[1]
Following the JCP approval of the BeanShell JSR Review Ballot in June 2005, no visible activity was taking place around BeanShell.[2] The JSR 274 status is "Dormant".
A fork of BeanShell, BeanShell2, was created in May 2007 on the Google Code website.[3] The beanshell2 project has made a number of fixes and enhancements to BeanShell.
A Windows automated installer, BeanShell Double-Click,[4] was created in 2013. It includes desktop integration features.
See also
- List of JVM languages
- Comparison of programming languages
- Comparison of computer shells
References
- ↑ The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 274. Jcp.org. Retrieved on 2013-07-21.
- ↑ http://jcp.org/en/jsr/results?id=3208
- ↑ beanshell2 - fork of BeanShell - Google Project Hosting. Code.google.com (2011-11-21). Retrieved on 2013-07-21.
- ↑ BeanShell Double-Click | Free Development software downloads at. Sourceforge.net. Retrieved on 2013-07-21.
External links
|