Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / August 2004

Tip: Looking for answers? Try searching our database.

JavaScript interpreter/evaluator class?

Thread view: 
None - 31 Aug 2004 04:32 GMT
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!
KC Wong - 31 Aug 2004 04:43 GMT
> JavaScript interpreter/evaluator class?
>
[quoted text clipped - 3 lines]
> expressions and have them evaluated.  Does a class exist to do this?
> I've done some searching but haven't found anything.  Thanks all!

http://groups.google.com/groups?q=Javascript+parser&hl=en&lr=&ie=UTF-8&selm=02-0
1-114%40comp.compilers&rnum=1

None - 31 Aug 2004 04:52 GMT
Thank you very much, I don't know how I missed that!  Looks like
exactly what I needed!

>> JavaScript interpreter/evaluator class?
>>
[quoted text clipped - 5 lines]
>
>http://groups.google.com/groups?q=Javascript+parser&hl=en&lr=&ie=UTF-8&selm=02-0
1-114%40comp.compilers&rnum=1
Martin Honnen - 31 Aug 2004 13:59 GMT
> 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?

There is the Rhino implementation from Mozilla.org, check
  http://www.mozilla.org/rhino/

Signature

    Martin Honnen
    http://JavaScript.FAQTs.com/



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.