Please accept this patch, which adds support for ObjectScript

http://objectscript.sourceforge.net

The patch registers a BSFEngine, and updates a few doc pages with links and whatnot

diff -cr jakarta-bsf-orig/build/classes/org/apache/bsf/Languages.properties 
jakarta-bsf/build/classes/org/apache/bsf/Languages.properties
*** jakarta-bsf-orig/build/classes/org/apache/bsf/Languages.properties  Sat Nov 29 
10:54:33 2003
--- jakarta-bsf/build/classes/org/apache/bsf/Languages.properties       Sat Nov 29 
10:59:34 2003
***************
*** 27,29 ****
--- 27,30 ----
  ruby = org.jruby.javasupport.bsf.JRubyEngine, rb
  judoscript = com.judoscript.BSFJudoEngine, judo|jud
  groovy = org.codehaus.groovy.bsf.GroovyEngine, groovy|gy
+ objectscript = oscript.bsf.ObjectScriptEngine, os
Binary files jakarta-bsf-orig/build/lib/bsf.jar and jakarta-bsf/build/lib/bsf.jar 
differ
diff -cr jakarta-bsf-orig/docs/index.html jakarta-bsf/docs/index.html
*** jakarta-bsf-orig/docs/index.html    Tue Nov  4 13:48:30 2003
--- jakarta-bsf/docs/index.html Sat Nov 29 11:14:06 2003
***************
*** 79,84 ****
--- 79,88 ----
     <li>
     <a href="http://groovy.codehaus.org/";>Groovy</a>
     </li>
+ 
+    <li>
+    <a href="http://objectscript.sourceforge.net/";>ObjectScript</a>
+    </li>
  </ul>
  </p>
                                  <p>
diff -cr jakarta-bsf-orig/docs/projects.html jakarta-bsf/docs/projects.html
*** jakarta-bsf-orig/docs/projects.html Tue Nov  4 13:48:30 2003
--- jakarta-bsf/docs/projects.html      Sat Nov 29 11:24:12 2003
***************
*** 370,375 ****
--- 370,411 ----
                      </blockquote>
      </td></tr>
    </table>
+                                   <table border="0" cellspacing="0" cellpadding="2" 
width="100%">
+     <tr><td bgcolor="#828DA6">
+       <font color="#ffffff" face="arial,helvetica,sanserif">
+         <a name="ObjectScript"><strong>ObjectScript</strong></a>
+       </font>
+     </td></tr>
+     <tr><td>
+       <blockquote>
+         <p>
+         "ObjectScript is a general purpose object-oriented programming language. It 
is designed to 
+         be simple to learn, easy to use, yet still powerful, combining the 
convenience of an 
+         interactive interpreter with many of the features of Java, plus operator 
overloading,
+         regular expressions, closures, XML-RPC support, etc.  And a behind the 
scenes compiler 
+         compiles script code to JVM bytecode for faster execution."
+         </p>
+                                 #table (<table>
+           <tr>
+             <th>Compatibility:</th>
+             <td>BSF 2.3 and above</td>
+           </tr>
+           <tr>
+             <th>URL:</th>
+             <td><a 
href="http://objectscript.sourceforge.net/";>http://objectscript.sourceforge.net/</a></td>
+           </tr>
+           <tr>
+             <th>Contact:</th>
+             <td><a href="mailto:[EMAIL PROTECTED]">Rob Clark</a></td>
+           </tr>
+           <tr>
+             <th>License:</th>
+             <td>LGPL</td>
+           </tr>
+         </table>)
+                     </blockquote>
+     </td></tr>
+   </table>
                      </blockquote>
      </td></tr>
    </table>
diff -cr jakarta-bsf-orig/docs/resources.html jakarta-bsf/docs/resources.html
*** jakarta-bsf-orig/docs/resources.html        Mon Nov  3 05:45:31 2003
--- jakarta-bsf/docs/resources.html     Sat Nov 29 11:09:25 2003
***************
*** 257,262 ****
--- 257,287 ----
                      </blockquote>
      </td></tr>
    </table>
+                                   <table border="0" cellspacing="0" cellpadding="2" 
width="100%">
+     <tr><td bgcolor="#828DA6">
+       <font color="#ffffff" face="arial,helvetica,sanserif">
+         <a name="Embed ObjectScript in Java"><strong>Embed ObjectScript in 
Java</strong></a>
+       </font>
+     </td></tr>
+     <tr><td>
+       <blockquote>
+         <p>
+         ObjectScript can be embedded either through it's own native interface,
+         or through BSF.
+         </p>
+                                 #table (<table>
+           <tr>
+             <th>Author:</th>
+             <td><a href="mailto:[EMAIL PROTECTED]">Rob Clark</a></td>
+           </tr>
+           <tr>
+             <th>URL:</th>
+             <td><a 
href="http://objectscript.sourceforge.net/?docs/embedding.html";>http://objectscript.sourceforge.net/?docs/embedding.html</a></td>
+           </tr>
+         </table>)
+                     </blockquote>
+     </td></tr>
+   </table>
                      </blockquote>
      </td></tr>
    </table>
diff -cr jakarta-bsf-orig/src/org/apache/bsf/Languages.properties 
jakarta-bsf/src/org/apache/bsf/Languages.properties
*** jakarta-bsf-orig/src/org/apache/bsf/Languages.properties    Fri Oct 31 09:03:11 
2003
--- jakarta-bsf/src/org/apache/bsf/Languages.properties Sat Nov 29 10:58:56 2003
***************
*** 27,29 ****
--- 27,30 ----
  ruby = org.jruby.javasupport.bsf.JRubyEngine, rb
  judoscript = com.judoscript.BSFJudoEngine, judo|jud
  groovy = org.codehaus.groovy.bsf.GroovyEngine, groovy|gy
+ objectscript = oscript.bsf.ObjectScriptEngine, os
diff -cr jakarta-bsf-orig/xdocs/index.xml jakarta-bsf/xdocs/index.xml
*** jakarta-bsf-orig/xdocs/index.xml    Thu Jun 26 22:22:29 2003
--- jakarta-bsf/xdocs/index.xml Tue Dec 30 23:01:04 2003
***************
*** 68,73 ****
--- 68,81 ----
     <li>
     JudoScript
     </li>
+ 
+    <li>
+    <a href="http://groovy.codehaus.org/";>Groovy</a>
+    </li>
+ 
+    <li>
+    <a href="http://objectscript.sourceforge.net/";>ObjectScript</a>
+    </li>
  </ul>
  </p>
  
diff -cr jakarta-bsf-orig/xdocs/projects.xml jakarta-bsf/xdocs/projects.xml
*** jakarta-bsf-orig/xdocs/projects.xml Mon Nov  4 12:59:16 2002
--- jakarta-bsf/xdocs/projects.xml      Tue Dec 30 23:07:18 2003
***************
*** 280,285 ****
--- 280,341 ----
          </table>
        </subsection>
  
+       <subsection name="Groovy">
+         <p>
+         "Groovy is a powerful scripting language for the JVM which compiles down to 
Java bytecode and implements
+         various high level features for Java developers such as dynamic typing, 
powerful closures for neat object navigation,
+         native syntax for Maps and Lists, operator overloading, new extended JDK 
methods, AOP hooks and auto-boxing.
+         Groovy also features a markup language for working with structured data 
(XML, DOM, SAX, Ant tasks, Swing etc).
+         "
+         </p>
+         <table>
+           <tr>
+             <th>Compatibility:</th>
+             <td>BSF 2.3 and above</td>
+           </tr>
+           <tr>
+             <th>URL:</th>
+             <td><a 
href="http://groovy.codehaus.org/";>http://groovy.codehaus.org/</a></td>
+           </tr>
+           <tr>
+             <th>Contact:</th>
+             <td><a href="http://groovy.codehaus.org/mail-lists.html";>Mailing 
lists</a></td>
+           </tr>
+           <tr>
+             <th>License:</th>
+             <td>BSD (Apache-like) License</td>
+           </tr>
+         </table>
+       </subsection>
+ 
+       <subsection name="ObjectScript">
+         <p>
+           "ObjectScript is a general purpose object-oriented programming language. 
It is designed to 
+           be simple to learn, easy to use, yet still powerful, combining the 
convenience of an 
+           interactive interpreter with many of the features of Java, plus operator 
overloading,
+           regular expressions, closures, XML-RPC support, etc.  And a behind the 
scenes compiler 
+           compiles script code to JVM bytecode for faster execution."
+         </p>
+         <table>
+           <tr>
+             <th>Compatibility:</th>
+             <td>BSF 2.3 and above</td>
+           </tr>
+           <tr>
+             <th>URL:</th>
+             <td><a 
href="http://objectscript.sourceforge.net/";>http://objectscript.sourceforge.net/</a></td>
+           </tr>
+           <tr>
+             <th>Contact:</th>
+             <td><a href="mailto:[EMAIL PROTECTED]">Rob Clark</a></td>
+           </tr>
+           <tr>
+             <th>License:</th>
+             <td>LGPL</td>
+           </tr>
+         </table>
+       </subsection>
+ 
      </section>
  
    </body>
diff -cr jakarta-bsf-orig/xdocs/resources.xml jakarta-bsf/xdocs/resources.xml
*** jakarta-bsf-orig/xdocs/resources.xml        Thu Jun 26 22:22:29 2003
--- jakarta-bsf/xdocs/resources.xml     Tue Dec 30 23:12:03 2003
***************
*** 176,181 ****
--- 176,199 ----
          </table>
        </subsection>
  
+       <subsection name="Embed ObjectScript in Java">
+         <p>
+           ObjectScript can be embedded either through it's own native interface, or 
through BSF.
+         </p>
+ 
+         <table>
+           <tr>
+             <th>Author:</th>
+             <td><a href="mailto:[EMAIL PROTECTED]">Rob Clark</a></td>
+           </tr>
+           <tr>
+             <th>URL:</th>
+             <td><a 
href="http://objectscript.sourceforge.net/?docs/embedding.html";>http://objectscript.sourceforge.net/?docs/embedding.html</a></td>
+           </tr>
+         </table>
+       </subsection>
+ 
+ 
      </section>
  
      <section name="Presentations">



-- Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to