comparison docs.html @ 25:351819baecd1

Updated docs.
author Atul Varma <varmaa@toolness.com>
date Sat, 12 Sep 2009 12:43:45 -0700
parents c2c369402a2e
children d28100e071a7
comparison
equal deleted inserted replaced
24:c2c369402a2e 25:351819baecd1
8 <link rel="stylesheet" href="docs.css" type="text/css" /> 8 <link rel="stylesheet" href="docs.css" type="text/css" />
9 </head> 9 </head>
10 <body> 10 <body>
11 <div class="document" id="pydertron"> 11 <div class="document" id="pydertron">
12 <h1 class="title">Pydertron</h1> 12 <h1 class="title">Pydertron</h1>
13 <p>Pydertron is a high-level wrapper for <a class="reference" href="http://code.google.com/p/pydermonkey">Pydermonkey</a> that 13 <p>Pydertron is an experimental high-level wrapper for <a class="reference" href="http://code.google.com/p/pydermonkey">Pydermonkey</a>
14 provides convenient, secure object wrapping between JS and Python 14 that provides convenient, secure object wrapping between JS and Python
15 space.</p> 15 space.</p>
16 <p>Note that Pydertron is just one example of a high-level interface 16 <p>Note that Pydertron is just one example of a high-level interface
17 between Python and JavaScript: it assumes, for instance, that the JS 17 between Python and JavaScript: it assumes, for instance, that the JS
18 code it executes isn't trusted, which affects the nature of the 18 code it executes isn't trusted, which affects the nature of the
19 inter-language interaction.</p> 19 inter-language interaction.</p>
20 <p>Pydertron is currently hosted at
21 <a class="reference" href="http://hg.toolness.com/pydertron">http://hg.toolness.com/pydertron</a>. Please feel free to send any
22 questions or comments to <a class="reference" href="mailto:atul&#64;mozilla.com">atul&#64;mozilla.com</a>.</p>
20 <div class="section"> 23 <div class="section">
21 <h1><a id="the-basics" name="the-basics">The Basics</a></h1> 24 <h1><a id="the-basics" name="the-basics">The Basics</a></h1>
22 <p>The <tt class="docutils literal"><span class="pre">JsSandbox</span></tt> class encapsulates a JavaScript runtime, context, global 25 <p>The <tt class="docutils literal"><span class="pre">JsSandbox</span></tt> class encapsulates a JavaScript runtime, context, global
23 object, and a simple <a class="reference" href="http://wiki.commonjs.org/wiki/CommonJS/Modules/SecurableModules">SecurableModule</a> implementation that complies 26 object, and a simple <a class="reference" href="http://wiki.commonjs.org/wiki/CommonJS/Modules/SecurableModules">SecurableModule</a> implementation that complies
24 with the <a class="reference" href="http://wiki.commonjs.org/wiki/CommonJS">CommonJS</a> standard. It also provides a high-level bridge between 27 with the <a class="reference" href="http://wiki.commonjs.org/wiki/CommonJS">CommonJS</a> standard. It also provides a high-level bridge between