comparison docs/src/index.txt @ 51:fabd3f2271fa

Added some basic, incomplete docs on the pymonkey module, which include a doctest that's run when pymonkey is built.
author Atul Varma <varmaa@toolness.com>
date Wed, 08 Jul 2009 09:32:31 -0700
parents 7401af070bb8
children e9f450d30c0e
comparison
equal deleted inserted replaced
50:405f03166009 51:fabd3f2271fa
11 SpiderMonkey <https://developer.mozilla.org/en/SpiderMonkey>`_ engine 11 SpiderMonkey <https://developer.mozilla.org/en/SpiderMonkey>`_ engine
12 to Python. 12 to Python.
13 13
14 .. toctree:: 14 .. toctree::
15 :maxdepth: 2 15 :maxdepth: 2
16
17 pymonkey
16 18
17 Rationale and Goals: 19 Rationale and Goals:
18 20
19 * Python and JS are fairly complementary languages. Python provides 21 * Python and JS are fairly complementary languages. Python provides
20 tremendous developer productivity via its dynamic language 22 tremendous developer productivity via its dynamic language
83 Where ``PATH_TO_OBJDIR`` is the path to your Mozilla/SpiderMonkey build's 85 Where ``PATH_TO_OBJDIR`` is the path to your Mozilla/SpiderMonkey build's
84 objdir. 86 objdir.
85 87
86 Note that at the moment, the build script is only tested on OS X. 88 Note that at the moment, the build script is only tested on OS X.
87 89
88 Example Code
89 ============
90
91 Right now the only example code that exists is in the test suite at
92 ``test_pymonkey.py``. Check it out and feel free to add more.
93
94 Challenges 90 Challenges
95 ========== 91 ==========
96 92
97 There's a number of challenges that need to be resolved before 93 There's a number of challenges that need to be resolved before
98 pymonkey can be really usable. Here's some of them. 94 pymonkey can be really usable. Here's some of them.