the beanshell preprocessor, or bpp for short, is intended to be a convenient and powerful preprocessing tool for java developers. its convenient because the preprocessor is based on beanshell, which is essentially interpreted java. this means that java or beanshell programmers can quickly use all of bpps features. its powerful for the same reasons: all the power of the java sdk with the convenience of the beanshell scripting language is available as double payment: once as a development language and once as a preprocessing language.
in the current world of sexy words for new concepts in software development, a new preprocessor is sure to draw a yawn. but for java developers, this preprocessor can revolutionize core software development. the reason is that it isnt actually just a new processor, but an entirely different kind of preprocessor: a symmetric preprocessor. a language with a symmetric preprocessor gives the full power (and syntax) of the language as a preprocessor, including the provision for a preprocessor, and so on.
getting bpp and beanshell
bpp is available as an executable jar file from http://bpp.sourceforge.net. beanshell is available from http://beanshell.org. bpp uses beanshell under the hood and so must find its jar file in the class path. putting the bsh-2.0b1.jar in your classpath ensures it will be found. once this has been set up correctly, use the command:java bsh.console
from a command shell to start up the beanshell desktop. a windowed beanshell desktop shoul... 下一页