jbarnette / johnson

Johnson wraps JavaScript in a loving Ruby embrace.

This URL has Read+Write access

johnson / README.rdoc
2cabf82d » jbarnette 2008-06-23 Dinking with the README. 1 = Johnson
1ce658fa » jbarnette 2008-03-11 Skeletal Hoe structure. 2
dc5b3bb9 » jbarnette 2009-06-23 Grab more config stuff from... 3 * http://github.com/jbarnette/johnson
4 * http://johnson.lighthouseapp.com
5 * http://groups.google.com/group/johnson-talk
1ce658fa » jbarnette 2008-03-11 Skeletal Hoe structure. 6
dc5b3bb9 » jbarnette 2009-06-23 Grab more config stuff from... 7 == Description
8
9 Johnson wraps JavaScript in a loving Ruby embrace. It embeds the
10 Mozilla SpiderMonkey JavaScript runtime as a C extension.
2cabf82d » jbarnette 2008-06-23 Dinking with the README. 11
a12facc6 » jbarnette 2009-03-26 Cleaning up the README a bit. 12 == Examples
1ce658fa » jbarnette 2008-03-11 Skeletal Hoe structure. 13
a12facc6 » jbarnette 2009-03-26 Cleaning up the README a bit. 14 # FIXME: write some decent examples
15 require "johnson"
2cabf82d » jbarnette 2008-06-23 Dinking with the README. 16
a12facc6 » jbarnette 2009-03-26 Cleaning up the README a bit. 17 Johnson.evaluate("4 + 4") # => 8
18 Johnson.evaluate("4 + foo", :foo => 4) # => 8
19
20 == Installation
21
dc5b3bb9 » jbarnette 2009-06-23 Grab more config stuff from... 22 $ gem install johnson
4feabae8 » jbarnette 2009-03-26 Build system cleanups. 23
dc5b3bb9 » jbarnette 2009-06-23 Grab more config stuff from... 24 === TODO
4feabae8 » jbarnette 2009-03-26 Build system cleanups. 25
dc5b3bb9 » jbarnette 2009-06-23 Grab more config stuff from... 26 * Support more than just Mac OS X / Ruby 1.8.6.
27 * Stop freaking segfaulting.
13bdf927 » jbarnette 2009-04-04 Tweak the README. 28
2f6d621e » jbarnette 2008-06-23 Fixing formatting and insta... 29 == License
1ce658fa » jbarnette 2008-03-11 Skeletal Hoe structure. 30
dc5b3bb9 » jbarnette 2009-06-23 Grab more config stuff from... 31 Copyright 2008-2009 John Barnette,
32 Aaron Patterson,
33 Yehuda Katz,
a12facc6 » jbarnette 2009-03-26 Cleaning up the README a bit. 34 Matthew Draper
1ce658fa » jbarnette 2008-03-11 Skeletal Hoe structure. 35
36 Permission is hereby granted, free of charge, to any person obtaining
37 a copy of this software and associated documentation files (the
38 'Software'), to deal in the Software without restriction, including
39 without limitation the rights to use, copy, modify, merge, publish,
40 distribute, sublicense, and/or sell copies of the Software, and to
41 permit persons to whom the Software is furnished to do so, subject to
42 the following conditions:
43
44 The above copyright notice and this permission notice shall be
45 included in all copies or substantial portions of the Software.
46
47 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
48 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
49 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
50 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
51 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
52 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
53 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.