Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 48 lines (34 sloc) 1.558 kb
2cabf82 @jbarnette Dinking with the README.
authored
1 = Johnson
1ce658f Skeletal Hoe structure.
jbarnette authored
2
dc5b3bb @jbarnette Grab more config stuff from the README.
authored
3 * http://github.com/jbarnette/johnson
4 * http://groups.google.com/group/johnson-talk
1ce658f Skeletal Hoe structure.
jbarnette authored
5
dc5b3bb @jbarnette Grab more config stuff from the README.
authored
6 == Description
7
8 Johnson wraps JavaScript in a loving Ruby embrace. It embeds the
9 Mozilla SpiderMonkey JavaScript runtime as a C extension.
2cabf82 @jbarnette Dinking with the README.
authored
10
a12facc @jbarnette Cleaning up the README a bit.
authored
11 == Examples
1ce658f Skeletal Hoe structure.
jbarnette authored
12
eaa9ddb @jbarnette Remove the segfault todo.
authored
13 # FIX: write some decent examples
a12facc @jbarnette Cleaning up the README a bit.
authored
14 require "johnson"
2cabf82 @jbarnette Dinking with the README.
authored
15
a12facc @jbarnette Cleaning up the README a bit.
authored
16 Johnson.evaluate("4 + 4") # => 8
17 Johnson.evaluate("4 + foo", :foo => 4) # => 8
18
19 == Installation
20
dc5b3bb @jbarnette Grab more config stuff from the README.
authored
21 $ gem install johnson
4feabae @jbarnette Build system cleanups.
authored
22
2f6d621 @jbarnette Fixing formatting and installation instructions.
authored
23 == License
1ce658f Skeletal Hoe structure.
jbarnette authored
24
f7bcf01 @matthewd Finish off conversions stuff, and add some tests.
matthewd authored
25 Copyright 2008-2010 John Barnette,
dc5b3bb @jbarnette Grab more config stuff from the README.
authored
26 Aaron Patterson,
27 Yehuda Katz,
a12facc @jbarnette Cleaning up the README a bit.
authored
28 Matthew Draper
1ce658f Skeletal Hoe structure.
jbarnette authored
29
30 Permission is hereby granted, free of charge, to any person obtaining
31 a copy of this software and associated documentation files (the
32 'Software'), to deal in the Software without restriction, including
33 without limitation the rights to use, copy, modify, merge, publish,
34 distribute, sublicense, and/or sell copies of the Software, and to
35 permit persons to whom the Software is furnished to do so, subject to
36 the following conditions:
37
38 The above copyright notice and this permission notice shall be
39 included in all copies or substantial portions of the Software.
40
41 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
42 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
43 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
44 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
45 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
46 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
47 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Something went wrong with that request. Please try again.