JavaScript interpreter/evaluator class?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • None

    #1

    JavaScript interpreter/evaluator class?

    JavaScript interpreter/evaluator class?

    Does anyone know of a way to parse JavaScript expressions in Java? I
    am working on a report writer and one of the requirements is a formula
    facility. The best thing would be to be able to enter JavaScript
    expressions and have them evaluated. Does a class exist to do this?
    I've done some searching but haven't found anything. Thanks all!
  • Edwin Martin

    #2
    Re: JavaScript interpreter/evaluator class?

    None wrote:
    [color=blue]
    > JavaScript interpreter/evaluator class?
    >
    > Does anyone know of a way to parse JavaScript expressions in Java? I
    > am working on a report writer and one of the requirements is a formula
    > facility. The best thing would be to be able to enter JavaScript
    > expressions and have them evaluated. Does a class exist to do this?
    > I've done some searching but haven't found anything. Thanks all![/color]

    Taka a look at Rhino:

    The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.


    Edwin Martin

    --

    Comment

    • None

      #3
      Re: JavaScript interpreter/evaluator class?

      Yep, I wound up using Rhino. Excellent package. Thanks!

      On Tue, 31 Aug 2004 10:15:28 GMT, Edwin Martin <e.j.martin@che llo.nl>
      wrote:
      [color=blue]
      >None wrote:
      >[color=green]
      >> JavaScript interpreter/evaluator class?
      >>
      >> Does anyone know of a way to parse JavaScript expressions in Java? I
      >> am working on a report writer and one of the requirements is a formula
      >> facility. The best thing would be to be able to enter JavaScript
      >> expressions and have them evaluated. Does a class exist to do this?
      >> I've done some searching but haven't found anything. Thanks all![/color]
      >
      >Taka a look at Rhino:
      >
      >http://www.mozilla.org/rhino/
      >
      >Edwin Martin[/color]

      Comment

      Working...