Re: BeanShell Dialects: proposal for future syntax extension mechanism...

Mark Swanson <mark-e2GstmqqWGa5mcYau+xr2AC/[email protected]> Tue, 1 Feb 2005 23:20:28 -0500
Newsgroups gmane.comp.java.beanshell.devel
Organization Web Service Solutions, Inc.
Message-ID <[email protected]>
On February 1, 2005 10:23 pm, Patrick Niemeyer wrote:
>
>     http://beanshell.org/BeanShellDialects.html

I've scanned the document and while it may take some time to grok the details 
I really like:

1. separation between BeanShell and the extension. I really like that. I think 
this makes it possible to almost completely stop any form of feature creap in 
the core BeanShell syntax yet allow unlimited extensions to BeanShell 
capabilities.

2. The removal of a single central authority that guards what goes into 
BeanShell and when. It's good to have a guard to keep BeanShell from 
exploding like other scripting language efforts. However, why not have the 
best of both worlds and let anyone extend it in any way they see fit. There 
is tremendous power and freedom in allowing unlimited <extended> diversity.

Note: Extending the eval() method concept to different method names specifying 
different dialects was the first thing that came to my mind. So you have 
picked a design of least surprise wrt one person.

Just a few comments when I really should be working on a new release of my 
own...

Cheers.

P.S. Please post more often about what you have changed/added/fixed/designed 
about this wonderful BeanShell application of yours.


-- 
Free SyncML-capable J2ME & J2SE replacement for Exchange and Outlook
http://www.ScheduleWorld.com/
WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl