Talk:Rhino (JavaScript engine)

Latest comment: 4 years ago by 92.3.58.82 in topic Ambiguous

Rhino was released to Mozilla Foundation in April 1998.

how is released to Mozilla, while Mozilla is founded 2003? http://en.wikipedia.org/wiki/Mozilla_Foundation — Preceding unsigned comment added by 91.216.253.212 (talk) 15:39, 20 January 2014 (UTC)Reply

Untitled

edit

I believe that Rhino 1.6 implements JavaScript 1.6, but the Rhino doc I saw was not 100% consistent... Any clarification welcome, would be useful to mention language version implemented.

yeah iam currently working in that. i dont see mozilla documents are not really helpful in guiding devolpers. i need to know how to specify the src script attribute here in Rhino. does anyone know? —Preceding unsigned comment added by Rammyramkumar (talkcontribs) 09:35, 22 March 2008 (UTC)Reply

The second example is buggy: At EOF, S.readLine() will return null, so S.readLine().toUpperCase() throws an exception. better:

// The same as: import java.io.*;
importPackage(java.io);
importPackage(java.lang);

// "in" is a keyword in Javascript. 
// In Rhino you could query for an attribute using [] syntax: 
// Ex: System['out']
S = new BufferedReader( new InputStreamReader(System['in']) );
s = true;

while (s){
    s = S.readLine();
    if (s) System.out.println(s.toUpperCase());
}

-- Shouldn't this be sufficient (and more readable):

// The same as: import java.io.*;
importPackage(java.io);
importPackage(java.lang);

// "in" is a keyword in Javascript. 
// In Rhino you could query for an attribute using [] syntax: 
// Ex: System['out']
S = new BufferedReader( new InputStreamReader(System['in']) );

while (s = S.readLine()){
    System.out.println(s.toUpperCase());
}

Socramus (talk) 14:41, 22 April 2010 (UTC)Reply

Okay to list software that uses Rhino

edit

Can we add a list of software solutions that use the Rhino JavaScript Engine? — Preceding unsigned comment added by 198.217.64.22 (talk) 22:07, 25 August 2015 (UTC)Reply

Maintenance and rating of JavaScript articles

edit

Concerning editing and maintaining JavaScript-related articles...

Collaboration...

edit

If you are interested in collaborating on JavaScript articles or would like to see where you could help, stop by Wikipedia:WikiProject JavaScript and feel free to add your name to the participants list. Both editors and programmers are welcome.

Where to list JavaScript articles

edit

We've found over 300 JavaScript-related articles so far. If you come across any others, please add them to that list.

User scripts

edit

The WikiProject is also taking on the organization of the Wikipedia community's user script support pages. If you are interested in helping to organize information on the user scripts (or are curious about what we are up to), let us know!

If you have need for a user script that does not yet exist, or you have a cool idea for a user script or gadget, you can post it at Wikipedia:User scripts/Requests. And if you are a JavaScript programmer, that's a great place to find tasks if you are bored.

How to report JavaScript articles in need of attention

edit

If you come across a JavaScript article desperately in need of editor attention, and it's beyond your ability to handle, you can add it to our list of JavaScript-related articles that need attention.

Rating JavaScript articles

edit

At the top of the talk page of most every JavaScript-related article is a WikiProject JavaScript template where you can record the quality class and importance of the article. Doing so will help the community track the stage of completion and watch the highest priority articles more closely.

Thank you. The Transhumanist 01:13, 12 April 2017 (UTC)Reply

Ambiguous

edit

"Rhino is a JavaScript engine written fully in Java and managed by the Mozilla Foundation as open source software. It is separate from the SpiderMonkey engine, which is also developed by Mozilla, but written in C++ and used in Mozilla Firefox."

Does this mean a) that the SpiderMonkey engine is written in C++ and used in Mozilla Firefox, or b) that Rhino is written in C++ and used in Mozilla Firefox? Please clarify. 92.3.58.82 (talk) 15:03, 29 April 2020 (UTC)Reply