Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Non-programer scripting language for java?

 
Heath Lilley
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
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?
Thanks
Heath
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think the keyword here is "non-programmers". So maybe this will be suitable.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic