jbarnette / johnson
- Source
- Commits
- Network (18)
- Issues (5)
- Downloads (3)
- Wiki (3)
- Graphs
-
Tree:
8bdf716
johnson / README.rdoc
| 2cabf82d » | jbarnette | 2008-06-23 | 1 | = Johnson | |
| 1ce658fa » | jbarnette | 2008-03-11 | 2 | ||
| dc5b3bb9 » | jbarnette | 2009-06-23 | 3 | * http://github.com/jbarnette/johnson | |
| 4 | * http://johnson.lighthouseapp.com | ||||
| 5 | * http://groups.google.com/group/johnson-talk | ||||
| 1ce658fa » | jbarnette | 2008-03-11 | 6 | ||
| dc5b3bb9 » | jbarnette | 2009-06-23 | 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 | 11 | ||
| a12facc6 » | jbarnette | 2009-03-26 | 12 | == Examples | |
| 1ce658fa » | jbarnette | 2008-03-11 | 13 | ||
| a12facc6 » | jbarnette | 2009-03-26 | 14 | # FIXME: write some decent examples | |
| 15 | require "johnson" | ||||
| 2cabf82d » | jbarnette | 2008-06-23 | 16 | ||
| a12facc6 » | jbarnette | 2009-03-26 | 17 | Johnson.evaluate("4 + 4") # => 8 | |
| 18 | Johnson.evaluate("4 + foo", :foo => 4) # => 8 | ||||
| 19 | |||||
| 20 | == Installation | ||||
| 21 | |||||
| dc5b3bb9 » | jbarnette | 2009-06-23 | 22 | $ gem install johnson | |
| 4feabae8 » | jbarnette | 2009-03-26 | 23 | ||
| dc5b3bb9 » | jbarnette | 2009-06-23 | 24 | === TODO | |
| 4feabae8 » | jbarnette | 2009-03-26 | 25 | ||
| dc5b3bb9 » | jbarnette | 2009-06-23 | 26 | * Support more than just Mac OS X / Ruby 1.8.6. | |
| 27 | * Stop freaking segfaulting. | ||||
| 13bdf927 » | jbarnette | 2009-04-04 | 28 | ||
| 2f6d621e » | jbarnette | 2008-06-23 | 29 | == License | |
| 1ce658fa » | jbarnette | 2008-03-11 | 30 | ||
| dc5b3bb9 » | jbarnette | 2009-06-23 | 31 | Copyright 2008-2009 John Barnette, | |
| 32 | Aaron Patterson, | ||||
| 33 | Yehuda Katz, | ||||
| a12facc6 » | jbarnette | 2009-03-26 | 34 | Matthew Draper | |
| 1ce658fa » | jbarnette | 2008-03-11 | 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. | ||||
