This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Other Languages and the fly likes Non-programer scripting language for java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Languages » Other Languages
Bookmark "Non-programer scripting language for java?" Watch "Non-programer scripting language for java?" New topic

Non-programer scripting language for java?

Heath Lilley
Ranch Hand

Joined: Jan 09, 2001
Posts: 72
I'm not sure if this is the correct forum but here goes...
I am currently trying to find a scripting or expression language that is interpreted by Java and is somewhat simple to learn. I have a series of text statements that will be displayed in a document if a condition evaluates to true. The condition needs to have support for the following operators ==, >, <, <=, >=, !=, AND, OR. These operators would evaluate integers and strings. There would be one or more 'super users' that would have access to change the conditions as needed. Something similar to MS Excel's macro capabilities, I think, would be sufficient.
Does anyone have any thoughts, links, and/or recommendations?
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
Ouch, I guess this was posted a while ago without us noticing. But, better late than never, I hope. I would suggest Jython. As Embedding Jython shows, it's pretty simple to call from Java, and easy to use.

"I'm not back." - Bill Harding, Twister
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
I think the keyword here is "non-programmers". So maybe this will be suitable.

Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
I agree. Here's the link:
subject: Non-programer scripting language for java?
It's not a secret anymore!