PageRenderTime 111ms CodeModel.GetById 30ms RepoModel.GetById 1ms app.codeStats 1ms

/Languages/Ruby/Docs/readme.htm

http://github.com/IronLanguages/main
HTML | 9785 lines | 8903 code | 838 blank | 44 comment | 0 complexity | 43f32b6db54dd4ef12902dcbeb434897 MD5 | raw file
Possible License(s): CPL-1.0, BSD-3-Clause, ISC, GPL-2.0, MPL-2.0-no-copyleft-exception

Large files files are truncated, but you can click here to view the full file

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <script type="text/javascript">
  5. //<![CDATA[
  6. var version = {title: "TiddlyWiki", major: 2, minor: 2, revision: 4, date: new Date("Jun 19, 2007"), extensions: {}};
  7. //]]>
  8. </script>
  9. <!--
  10. TiddlyWiki created by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
  11. Copyright (c) UnaMesa Association 2004-2007
  12. Redistribution and use in source and binary forms, with or without modification,
  13. are permitted provided that the following conditions are met:
  14. Redistributions of source code must retain the above copyright notice, this
  15. list of conditions and the following disclaimer.
  16. Redistributions in binary form must reproduce the above copyright notice, this
  17. list of conditions and the following disclaimer in the documentation and/or other
  18. materials provided with the distribution.
  19. Neither the name of the UnaMesa Association nor the names of its contributors may be
  20. used to endorse or promote products derived from this software without specific
  21. prior written permission.
  22. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
  23. EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  24. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
  25. SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
  26. INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
  27. TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
  28. BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  29. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  30. ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
  31. DAMAGE.
  32. -->
  33. <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
  34. <!--PRE-HEAD-START-->
  35. <!--{{{-->
  36. <link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml'/>
  37. <!--}}}-->
  38. <!--PRE-HEAD-END-->
  39. <title> IronRuby Docs - Developer documentation for Microsoft IronRuby </title>
  40. <style type="text/css">
  41. #saveTest {display:none;}
  42. #messageArea {display:none;}
  43. #copyright {display:none;}
  44. #storeArea {display:none;}
  45. #storeArea div {padding:0.5em; margin:1em 0em 0em 0em; border-color:#fff #666 #444 #ddd; border-style:solid; border-width:2px; overflow:auto;}
  46. #shadowArea {display:none;}
  47. #javascriptWarning {width:100%; text-align:center; font-weight:bold; background-color:#dd1100; color:#fff; padding:1em 0em;}
  48. </style>
  49. <!--POST-HEAD-START-->
  50. <!--POST-HEAD-END-->
  51. </head>
  52. <body onload="main();" onunload="if(window.checkUnsavedChanges) checkUnsavedChanges(); if(window.scrubNodes) scrubNodes(document.body);">
  53. <!--PRE-BODY-START-->
  54. <!--PRE-BODY-END-->
  55. <div id="copyright">
  56. Welcome to TiddlyWiki created by Jeremy Ruston, Copyright &copy; 2007 UnaMesa Association
  57. </div>
  58. <noscript>
  59. <div id="javascriptWarning">This page requires JavaScript to function properly.<br /><br />If you are using Microsoft Internet Explorer you may need to click on the yellow bar above and select 'Allow Blocked Content'. You must then click 'Yes' on the following security warning.</div>
  60. </noscript>
  61. <div id="saveTest"></div>
  62. <div id="backstageCloak"></div>
  63. <div id="backstageButton"></div>
  64. <div id="backstageArea"><div id="backstageToolbar"></div></div>
  65. <div id="backstage">
  66. <div id="backstagePanel"></div>
  67. </div>
  68. <div id="contentWrapper"></div>
  69. <div id="contentStash"></div>
  70. <div id="shadowArea">
  71. <div title="ColorPalette">
  72. <pre>Background: #fff
  73. Foreground: #000
  74. PrimaryPale: #8cf
  75. PrimaryLight: #18f
  76. PrimaryMid: #04b
  77. PrimaryDark: #014
  78. SecondaryPale: #ffc
  79. SecondaryLight: #fe8
  80. SecondaryMid: #db4
  81. SecondaryDark: #841
  82. TertiaryPale: #eee
  83. TertiaryLight: #ccc
  84. TertiaryMid: #999
  85. TertiaryDark: #666
  86. Error: #f88</pre>
  87. </div>
  88. <div title="StyleSheetColors">
  89. <pre>/*{{{*/
  90. body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
  91. a {color:[[ColorPalette::PrimaryMid]];}
  92. a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
  93. a img {border:0;}
  94. h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
  95. h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
  96. h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}
  97. .button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
  98. .button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
  99. .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}
  100. .header {background:[[ColorPalette::PrimaryMid]];}
  101. .headerShadow {color:[[ColorPalette::Foreground]];}
  102. .headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
  103. .headerForeground {color:[[ColorPalette::Background]];}
  104. .headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}
  105. .tabSelected{color:[[ColorPalette::PrimaryDark]];
  106. background:[[ColorPalette::TertiaryPale]];
  107. border-left:1px solid [[ColorPalette::TertiaryLight]];
  108. border-top:1px solid [[ColorPalette::TertiaryLight]];
  109. border-right:1px solid [[ColorPalette::TertiaryLight]];
  110. }
  111. .tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
  112. .tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
  113. .tabContents .button {border:0;}
  114. #sidebar {}
  115. #sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
  116. #sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
  117. #sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
  118. #sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
  119. #sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}
  120. .wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
  121. .wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
  122. .wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
  123. .wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
  124. border:1px solid [[ColorPalette::PrimaryMid]];}
  125. .wizardStep.wizardStepDone {background::[[ColorPalette::TertiaryLight]];}
  126. .wizardFooter {background:[[ColorPalette::PrimaryPale]];}
  127. .wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
  128. .wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
  129. border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
  130. .wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
  131. .wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
  132. border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}
  133. #messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
  134. #messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}
  135. .popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}
  136. .popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
  137. .popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
  138. .popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
  139. .popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
  140. .popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
  141. .popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
  142. .popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
  143. .listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}
  144. .tiddler .defaultCommand {font-weight:bold;}
  145. .shadow .title {color:[[ColorPalette::TertiaryDark]];}
  146. .title {color:[[ColorPalette::SecondaryDark]];}
  147. .subtitle {color:[[ColorPalette::TertiaryDark]];}
  148. .toolbar {color:[[ColorPalette::PrimaryMid]];}
  149. .toolbar a {color:[[ColorPalette::TertiaryLight]];}
  150. .selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
  151. .selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}
  152. .tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
  153. .selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
  154. .tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
  155. .tagging .button, .tagged .button {border:none;}
  156. .footer {color:[[ColorPalette::TertiaryLight]];}
  157. .selected .footer {color:[[ColorPalette::TertiaryMid]];}
  158. .sparkline {background:[[ColorPalette::PrimaryPale]]; border:0;}
  159. .sparktick {background:[[ColorPalette::PrimaryDark]];}
  160. .error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
  161. .warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
  162. .lowlight {background:[[ColorPalette::TertiaryLight]];}
  163. .zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}
  164. .imageLink, #displayArea .imageLink {background:transparent;}
  165. .annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}
  166. .viewer .listTitle {list-style-type:none; margin-left:-2em;}
  167. .viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
  168. .viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}
  169. .viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
  170. .viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
  171. .viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}
  172. .viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
  173. .viewer code {color:[[ColorPalette::SecondaryDark]];}
  174. .viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}
  175. .highlight, .marked {background:[[ColorPalette::SecondaryLight]];}
  176. .editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
  177. .editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
  178. .editorFooter {color:[[ColorPalette::TertiaryMid]];}
  179. #backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
  180. #backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
  181. #backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
  182. #backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
  183. #backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
  184. #backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
  185. #backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
  186. .backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
  187. .backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
  188. #backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:'alpha(opacity:60)';}
  189. /*}}}*/</pre>
  190. </div>
  191. <div title="StyleSheetLayout">
  192. <pre>/*{{{*/
  193. * html .tiddler {height:1%;}
  194. body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}
  195. h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
  196. h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
  197. h4,h5,h6 {margin-top:1em;}
  198. h1 {font-size:1.35em;}
  199. h2 {font-size:1.25em;}
  200. h3 {font-size:1.1em;}
  201. h4 {font-size:1em;}
  202. h5 {font-size:.9em;}
  203. hr {height:1px;}
  204. a {text-decoration:none;}
  205. dt {font-weight:bold;}
  206. ol {list-style-type:decimal;}
  207. ol ol {list-style-type:lower-alpha;}
  208. ol ol ol {list-style-type:lower-roman;}
  209. ol ol ol ol {list-style-type:decimal;}
  210. ol ol ol ol ol {list-style-type:lower-alpha;}
  211. ol ol ol ol ol ol {list-style-type:lower-roman;}
  212. ol ol ol ol ol ol ol {list-style-type:decimal;}
  213. .txtOptionInput {width:11em;}
  214. #contentWrapper .chkOptionInput {border:0;}
  215. .externalLink {text-decoration:underline;}
  216. .indent {margin-left:3em;}
  217. .outdent {margin-left:3em; text-indent:-3em;}
  218. code.escaped {white-space:nowrap;}
  219. .tiddlyLinkExisting {font-weight:bold;}
  220. .tiddlyLinkNonExisting {font-style:italic;}
  221. /* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
  222. a.tiddlyLinkNonExisting.shadow {font-weight:bold;}
  223. #mainMenu .tiddlyLinkExisting,
  224. #mainMenu .tiddlyLinkNonExisting,
  225. #sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
  226. #sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}
  227. .header {position:relative;}
  228. .header a:hover {background:transparent;}
  229. .headerShadow {position:relative; padding:4.5em 0em 1em 1em; left:-1px; top:-1px;}
  230. .headerForeground {position:absolute; padding:4.5em 0em 1em 1em; left:0px; top:0px;}
  231. .siteTitle {font-size:3em;}
  232. .siteSubtitle {font-size:1.2em;}
  233. #mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}
  234. #sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
  235. #sidebarOptions {padding-top:0.3em;}
  236. #sidebarOptions a {margin:0em 0.2em; padding:0.2em 0.3em; display:block;}
  237. #sidebarOptions input {margin:0.4em 0.5em;}
  238. #sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
  239. #sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
  240. #sidebarOptions .sliderPanel input {margin:0 0 .3em 0;}
  241. #sidebarTabs .tabContents {width:15em; overflow:hidden;}
  242. .wizard {padding:0.1em 1em 0em 2em;}
  243. .wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0em 0em 0em 0em; margin:0.4em 0em 0.2em 0em;}
  244. .wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0em 0em 0em 0em; margin:0.4em 0em 0.2em 0em;}
  245. .wizardStep {padding:1em 1em 1em 1em;}
  246. .wizard .button {margin:0.5em 0em 0em 0em; font-size:1.2em;}
  247. .wizardFooter {padding:0.8em 0.4em 0.8em 0em;}
  248. .wizardFooter .status {padding:0em 0.4em 0em 0.4em; margin-left:1em;}
  249. .wizard .button {padding:0.1em 0.2em 0.1em 0.2em;}
  250. #messageArea {position:fixed; top:2em; right:0em; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
  251. .messageToolbar {display:block; text-align:right; padding:0.2em 0.2em 0.2em 0.2em;}
  252. #messageArea a {text-decoration:underline;}
  253. .tiddlerPopupButton {padding:0.2em 0.2em 0.2em 0.2em;}
  254. .popupTiddler {position: absolute; z-index:300; padding:1em 1em 1em 1em; margin:0;}
  255. .popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
  256. .popup .popupMessage {padding:0.4em;}
  257. .popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0em;}
  258. .popup li.disabled {padding:0.4em;}
  259. .popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
  260. .listBreak {font-size:1px; line-height:1px;}
  261. .listBreak div {margin:2px 0;}
  262. .tabset {padding:1em 0em 0em 0.5em;}
  263. .tab {margin:0em 0em 0em 0.25em; padding:2px;}
  264. .tabContents {padding:0.5em;}
  265. .tabContents ul, .tabContents ol {margin:0; padding:0;}
  266. .txtMainTab .tabContents li {list-style:none;}
  267. .tabContents li.listLink { margin-left:.75em;}
  268. #contentWrapper {display:block;}
  269. #splashScreen {display:none;}
  270. #displayArea {margin:1em 17em 0em 14em;}
  271. .toolbar {text-align:right; font-size:.9em;}
  272. .tiddler {padding:1em 1em 0em 1em;}
  273. .missing .viewer,.missing .title {font-style:italic;}
  274. .title {font-size:1.6em; font-weight:bold;}
  275. .missing .subtitle {display:none;}
  276. .subtitle {font-size:1.1em;}
  277. .tiddler .button {padding:0.2em 0.4em;}
  278. .tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
  279. .isTag .tagging {display:block;}
  280. .tagged {margin:0.5em; float:right;}
  281. .tagging, .tagged {font-size:0.9em; padding:0.25em;}
  282. .tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
  283. .tagClear {clear:both;}
  284. .footer {font-size:.9em;}
  285. .footer li {display:inline;}
  286. .annotation {padding:0.5em; margin:0.5em;}
  287. * html .viewer pre {width:99%; padding:0 0 1em 0;}
  288. .viewer {line-height:1.4em; padding-top:0.5em;}
  289. .viewer .button {margin:0em 0.25em; padding:0em 0.25em;}
  290. .viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
  291. .viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}
  292. .viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
  293. .viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
  294. table.listView {font-size:0.85em; margin:0.8em 1.0em;}
  295. table.listView th, table.listView td, table.listView tr {padding:0px 3px 0px 3px;}
  296. .viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
  297. .viewer code {font-size:1.2em; line-height:1.4em;}
  298. .editor {font-size:1.1em;}
  299. .editor input, .editor textarea {display:block; width:100%; font:inherit;}
  300. .editorFooter {padding:0.25em 0em; font-size:.9em;}
  301. .editorFooter .button {padding-top:0px; padding-bottom:0px;}
  302. .fieldsetFix {border:0; padding:0; margin:1px 0px 1px 0px;}
  303. .sparkline {line-height:1em;}
  304. .sparktick {outline:0;}
  305. .zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
  306. .zoomer div {padding:1em;}
  307. * html #backstage {width:99%;}
  308. * html #backstageArea {width:99%;}
  309. #backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em 0.3em 0.5em;}
  310. #backstageToolbar {position:relative;}
  311. #backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em 0.3em 0.5em;}
  312. #backstageButton {display:none; position:absolute; z-index:175; top:0em; right:0em;}
  313. #backstageButton a {padding:0.1em 0.4em 0.1em 0.4em; margin:0.1em 0.1em 0.1em 0.1em;}
  314. #backstage {position:relative; width:100%; z-index:50;}
  315. #backstagePanel {display:none; z-index:100; position:absolute; margin:0em 3em 0em 3em; padding:1em 1em 1em 1em;}
  316. .backstagePanelFooter {padding-top:0.2em; float:right;}
  317. .backstagePanelFooter a {padding:0.2em 0.4em 0.2em 0.4em;}
  318. #backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}
  319. .whenBackstage {display:none;}
  320. .backstageVisible .whenBackstage {display:block;}
  321. /*}}}*/</pre>
  322. </div>
  323. <div title="StyleSheetLocale">
  324. <pre>/***
  325. StyleSheet for use when a translation requires any css style changes.
  326. This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which use a logographic writing system and need larger font sizes.
  327. ***/
  328. /*{{{*/
  329. body {font-size:0.8em;}
  330. #sidebarOptions {font-size:1.05em;}
  331. #sidebarOptions a {font-style:normal;}
  332. #sidebarOptions .sliderPanel {font-size:0.95em;}
  333. .subtitle {font-size:0.8em;}
  334. .viewer table.listView {font-size:0.95em;}
  335. .htmlarea .toolbarHA table {border:1px solid ButtonFace; margin:0em 0em;}
  336. /*}}}*/</pre>
  337. </div>
  338. <div title="StyleSheetPrint">
  339. <pre>/*{{{*/
  340. @media print {
  341. #mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton {display: none ! important;}
  342. #displayArea {margin: 1em 1em 0em 1em;}
  343. /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
  344. noscript {display:none;}
  345. }
  346. /*}}}*/</pre>
  347. </div>
  348. <div title="PageTemplate">
  349. <pre>&lt;!--{{{--&gt;
  350. &lt;div class='header' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'&gt;
  351. &lt;div class='headerShadow'&gt;
  352. &lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
  353. &lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
  354. &lt;/div&gt;
  355. &lt;div class='headerForeground'&gt;
  356. &lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
  357. &lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
  358. &lt;/div&gt;
  359. &lt;/div&gt;
  360. &lt;div id='mainMenu' refresh='content' tiddler='MainMenu'&gt;&lt;/div&gt;
  361. &lt;div id='sidebar'&gt;
  362. &lt;div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'&gt;&lt;/div&gt;
  363. &lt;div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'&gt;&lt;/div&gt;
  364. &lt;/div&gt;
  365. &lt;div id='displayArea'&gt;
  366. &lt;div id='messageArea'&gt;&lt;/div&gt;
  367. &lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;
  368. &lt;/div&gt;
  369. &lt;!--}}}--&gt;</pre>
  370. </div>
  371. <div title="ViewTemplate">
  372. <pre>&lt;!--{{{--&gt;
  373. &lt;div class='toolbar' macro='toolbar closeTiddler closeOthers +editTiddler &gt; fields syncing permalink references jump'&gt;&lt;/div&gt;
  374. &lt;div class='title' macro='view title'&gt;&lt;/div&gt;
  375. &lt;div class='subtitle'&gt;&lt;span macro='view modifier link'&gt;&lt;/span&gt;, &lt;span macro='view modified date'&gt;&lt;/span&gt; (&lt;span macro='message views.wikified.createdPrompt'&gt;&lt;/span&gt; &lt;span macro='view created date'&gt;&lt;/span&gt;)&lt;/div&gt;
  376. &lt;div class='tagging' macro='tagging'&gt;&lt;/div&gt;
  377. &lt;div class='tagged' macro='tags'&gt;&lt;/div&gt;
  378. &lt;div class='viewer' macro='view text wikified'&gt;&lt;/div&gt;
  379. &lt;div class='tagClear'&gt;&lt;/div&gt;
  380. &lt;!--}}}--&gt;</pre>
  381. </div>
  382. <div title="EditTemplate">
  383. <pre>&lt;!--{{{--&gt;
  384. &lt;div class='toolbar' macro='toolbar +saveTiddler -cancelTiddler deleteTiddler'&gt;&lt;/div&gt;
  385. &lt;div class='title' macro='view title'&gt;&lt;/div&gt;
  386. &lt;div class='editor' macro='edit title'&gt;&lt;/div&gt;
  387. &lt;div macro='annotations'&gt;&lt;/div&gt;
  388. &lt;div class='editor' macro='edit text'&gt;&lt;/div&gt;
  389. &lt;div class='editor' macro='edit tags'&gt;&lt;/div&gt;&lt;div class='editorFooter'&gt;&lt;span macro='message views.editor.tagPrompt'&gt;&lt;/span&gt;&lt;span macro='tagChooser'&gt;&lt;/span&gt;&lt;/div&gt;
  390. &lt;!--}}}--&gt;</pre>
  391. </div>
  392. <div title="GettingStarted">
  393. <pre>To get started with this blank TiddlyWiki, you'll need to modify the following tiddlers:
  394. * SiteTitle &amp; SiteSubtitle: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
  395. * MainMenu: The menu (usually on the left)
  396. * DefaultTiddlers: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
  397. You'll also need to enter your username for signing your edits: &lt;&lt;option txtUserName&gt;&gt;</pre>
  398. </div>
  399. <div title="OptionsPanel">
  400. <pre>These InterfaceOptions for customising TiddlyWiki are saved in your browser
  401. Your username for signing your edits. Write it as a WikiWord (eg JoeBloggs)
  402. &lt;&lt;option txtUserName&gt;&gt;
  403. &lt;&lt;option chkSaveBackups&gt;&gt; SaveBackups
  404. &lt;&lt;option chkAutoSave&gt;&gt; AutoSave
  405. &lt;&lt;option chkRegExpSearch&gt;&gt; RegExpSearch
  406. &lt;&lt;option chkCaseSensitiveSearch&gt;&gt; CaseSensitiveSearch
  407. &lt;&lt;option chkAnimate&gt;&gt; EnableAnimations
  408. ----
  409. Also see AdvancedOptions</pre>
  410. </div>
  411. </div>
  412. <!--POST-SHADOWAREA-->
  413. <div id="storeArea">
  414. <div title="AddAMethod" modifier="JohnLam" modified="200707190023" created="200707182349" changecount="3">
  415. <pre>!Implementation
  416. Let's add a {{{downcase}}} method to the MutableString class. This is the simplest kind of method - it accepts no parameters and returns a MutableString.
  417. MutableString lives in Ruby\Builtins\MutableString.cs. Its unit tests live in Tests\Builtins\String\test_string.rb. Here's one possible implementation of this method:
  418. {{{
  419. [RubyMethodAttribute(&quot;downcase&quot;, RubyMethodAttributes.PublicInstance)]
  420. public static MutableString DownCase(MutableString str) {
  421. MutableString result = new MutableString(str);
  422. DownCaseMutableString(result);
  423. return result;
  424. }
  425. }}}
  426. Notice that the method is a _static_ method. DLR provides its own version of C#
  427. 3.0's ExtensionMethods. In library code, all methods are implemented as ''static''
  428. methods on the type, particularly if its on a type that we define (which is the case with MutableString).
  429. If it's a type that we don't define, such as Int32, we define our extension
  430. methods in a class that has the suffix &quot;Ops&quot; attached to the name. In the case
  431. of Int32, which is really a Ruby Fixnum type, our extension methods are
  432. implemented in a type called FixnumOps.
  433. Notice that we have attached a RubyMethodAttribute to this class. This attribute
  434. defines the Ruby-callable name of the method since Ruby supports method names
  435. that are illegal in C#, such as &quot;downcase!&quot;. The RubyMethodAttributes
  436. enumeration defines the instancing and visibility of the method; in this case we
  437. are defining a public instance method on the String type.
  438. !Unit Tests
  439. Next, we have to implement the unit tests. In this early implementation of
  440. IronRuby, we support a simple form of RSpec tests. The testing framework can be
  441. found in Ruby\Tests\Util\simple_test.rb. Here's an implementation of the tests:
  442. {{{
  443. describe &quot;String#downcase&quot; do
  444. it &quot;returns a copy of self with all uppercase letters downcased&quot; do
  445. &quot;hELLO&quot;.downcase.should == &quot;hello&quot;
  446. &quot;hello&quot;.downcase.should == &quot;hello&quot;
  447. end
  448. it &quot;is locale insensitive (only replacing A-Z)&quot; do
  449. &quot;ÃÃÃœ&quot;.downcase.should == &quot;ÃÃÃœ&quot;
  450. end
  451. end
  452. }}}
  453. Next up, lets define a method that AcceptsParameters.
  454. </pre>
  455. </div>
  456. <div title="CodingStandards" modifier="JohnLam" modified="200707192257" created="200707192056" changecount="8">
  457. <pre>IronRuby uses four-space indentation. Tabs must be expanded as spaces. No exceptions.
  458. Public names are subject to FxCop rules.
  459. !!Private class member variables start with underscore _:
  460. {{{
  461. class MyClass {
  462. private string _name;
  463. public MyClass(string name) {
  464. _name = name;
  465. }
  466. }
  467. }}}
  468. !!Static variable names start with underscore followed by upper case letter:
  469. {{{
  470. _StaticVar
  471. }}}
  472. !!Open brace on same line as code:
  473. {{{
  474. if (true) {
  475. DoSomething();
  476. }
  477. }}}
  478. !!Member variables should be declared at the top of a class declaration:
  479. {{{
  480. class MyClass {
  481. private string _name;
  482. public MyClass(string name) {
  483. _name = name;
  484. }
  485. // Additional Code Here
  486. public string Name {
  487. get { return _name; }
  488. set { _name = value; }
  489. }
  490. }
  491. }}}
  492. Not:
  493. {{{
  494. class MyClass {
  495. public MyClass(string name) {
  496. _name = name;
  497. }
  498. // Additional Code Here
  499. private string _name;
  500. public string Name {
  501. get { return _name; }
  502. set { _name = value; }
  503. }
  504. }
  505. }}}
  506. IronRuby uses uniform formatting of the C# code. Set your editor to use the IronRuby.vssettings file to set handling of tabs and formatting of the code. This file is located in the root directory of the IronRuby project.
  507. To use the team settings in Visual Studio, go to Tools-&gt;Options Expand the Environment node, select Import and Export Settings. Check the Use team settings file and browse to the &quot;IronRuby.vssettings file located in your workspace.</pre>
  508. </div>
  509. <div title="CompileSources" modifier="JohnLam" created="200707230557" changecount="1">
  510. <pre>You can compile IronRuby by running {{build.cmd}} from the root directory of your IronRuby source distribution. You must have the .NET 2.0 Framework redistributable installed, since the build scripts rely on MSBuild.
  511. This will generate a release mode build of IronRuby in the \bin\release directory of your source distribution.</pre>
  512. </div>
  513. <div title="DefaultTiddlers" modifier="JohnLam" created="200707191650" changecount="1">
  514. <pre>IronRuby</pre>
  515. </div>
  516. <div title="ExtensionMethods" modifier="JohnLam" modified="200707190026" created="200707190025" changecount="3">
  517. <pre>Extension methods let us add methods (instance and static) to types that we didn't define. The DLR method dispatch mechanism generates the correct code to call these methods.
  518. For more details on C# 3.0 extension methods, see &lt;&lt;some article&gt;&gt;</pre>
  519. </div>
  520. <div title="IronRuby" modifier="JohnLam" modified="200707230555" created="200707181616" changecount="8">
  521. <pre>Welcome to the IronRuby project!
  522. The current version of IronRuby is the 0.1 Pre-Alpha, released on July 23.
  523. IronRuby is licensed under the terms of the Apache License, Version 2.0.
  524. This release of IronRuby ships only in source form. You must CompileSources first.
  525. If you're new here, make sure you read the NewDev page first. We're currently looking for contributions in the StandardLibraries, which you can find under \ironruby\src\ironrubylibs\.
  526. </pre>
  527. </div>
  528. <div title="IronRubyLibraries" modifier="JohnLam" modified="200707191539" created="200707181722" changecount="3">
  529. <pre>We are dividing the IronRuby libraries into BuiltIns and StandardLibraries. This is the area of IronRuby where we need external help the most.
  530. Make sure that you follow the CodingConventions.
  531. If this is your first contribution, read the tutorial on how to AddAMethod to an existing type.
  532. </pre>
  533. </div>
  534. <div title="JohnLam" modifier="JohnLam" created="200707181617" changecount="1">
  535. <pre>John Lam is an IronRuby core team member, and a Program Manager on the DynamicLanguageRuntime team at Microsoft.
  536. John tracks the progress of the IronRuby project on his blog, http://www.iunknown.com
  537. </pre>
  538. </div>
  539. <div title="MSBuild" modifier="JohnLam" created="200707181702" changecount="1">
  540. <pre>It ships with the [[.NET 2.0 Framework redist|http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&amp;displaylang=en]]. We have build scripts to help you build the projects and run the unit tests.
  541. </pre>
  542. </div>
  543. <div title="MainMenu" modifier="JohnLam" created="200707191729" changecount="1">
  544. <pre>IronRuby</pre>
  545. </div>
  546. <div title="Apache" modifier="DinoViehland" modified="201007081732" created="200707181707" changecount="3"><pre>
  547. Apache License
  548. Version 2.0, January 2004
  549. http://www.apache.org/licenses/
  550. TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
  551. 1. Definitions.
  552. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
  553. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
  554. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
  555. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
  556. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
  557. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
  558. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
  559. "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
  560. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
  561. "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
  562. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
  563. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
  564. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
  565. You must give any other recipients of the Work or Derivative Works a copy of this License; and
  566. You must cause any modified files to carry prominent notices stating that You changed the files; and
  567. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
  568. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License.
  569. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
  570. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
  571. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
  572. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
  573. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
  574. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
  575. See FAQ for answers to frequently asked questions about this license.
  576. </pre>
  577. </div>
  578. <div title="MutableString" modifier="JohnLam" created="200707182351" changecount="1">
  579. <pre>MutableString is the CLR type that represents a Ruby String. It's currently based on the StringBuilder type, which is a very efficient implementation of a char[] buffer. The current plan of record is to use this type for the near future before we invest in converting this type to a byte[] which is the long term plan.</pre>
  580. </div>
  581. <div title="NewDev" modifier="JohnLam" modified="200707192306" created="200707181659" changecount="9">
  582. <pre>New to the project? There are a few things that you should know before you dive in.
  583. * We are currently only accepting contributions into the StandardLibraries.
  584. * Take some time to familiarize yourself with the SourceCodeLayout.
  585. * Make sure you understand how the UnitTests work.
  586. * Work through the RunningFirstTime tutorial.
  587. Contributing code
  588. * Read the CodingStandards
  589. * Read the tutorial on how to AddAMethod to the libraries
  590. * Build the solution using MSBuild and verify that the UnitTests pass</pre>
  591. </div>
  592. <div title="PageTemplate" modifier="YourName" modified="200701122313" created="200701122350" tags="LewcidOrangeBlogTheme" server.type="file" server.host="http://tiddlythemes.com/empties/LewcidOrangeBlog.html" server.page.revision="200701122313">
  593. <pre>&lt;!--{{{--&gt;
  594. &lt;div class='header'&gt;
  595. &lt;div class='gradient' macro='gradient vert #FF8614 #DA4A0D '&gt;
  596. &lt;div class='titleLine' &gt;
  597. &lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
  598. &lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
  599. &lt;/div&gt;
  600. &lt;div id='topMenu' refresh='content' tiddler='MainMenu'&gt;&lt;/div&gt;
  601. &lt;/div&gt;
  602. &lt;/div&gt;
  603. &lt;div id='bodywrapper'&gt;
  604. &lt;div id='sidebar'&gt;
  605. &lt;div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'&gt;&lt;/div&gt;
  606. &lt;div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'&gt;&lt;/div&gt;
  607. &lt;/div&gt;
  608. &lt;div id='displayArea'&gt;
  609. &lt;div id='messageArea'&gt;&lt;/div&gt;
  610. &lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;
  611. &lt;/div&gt;
  612. &lt;div id='contentFooter'&gt;TiddlyWiki&lt;/div&gt;
  613. &lt;/div&gt;
  614. &lt;!--}}}--&gt;</pre>
  615. </div>
  616. <div title="RunningFirstTime" modifier="JohnLam" modified="200707221829" created="200707221827" changecount="2">
  617. <pre>This topic will teach you the basics of how things run in IronRuby.
  618. First, we will step through the Ruby.Console application to see what happens when we run a simple program:
  619. {{{
  620. puts 'Hello, World!'
  621. }}}
  622. You will see a number of things when we step through this code:
  623. # The hosting interfaces
  624. # The Ruby parser
  625. # The Ruby AST
  626. # The transformation of the Ruby AST into the DLR AST
  627. # Some interesting execution paths
  628. </pre>
  629. </div>
  630. <div title="SideBarWG" modifier="YourName" modified="200701122313" created="200701122350" tags="LewcidOrangeBlogTheme" server.type="file" server.host="http://tiddlythemes.com/empties/LewcidOrangeBlog.html" server.page.revision="200701122313">
  631. <pre>/***
  632. This CSS by DaveBirss.
  633. ***/
  634. /*{{{*/
  635. .tabSelected {
  636. background: #fff;
  637. }
  638. .tabUnselected {
  639. background: #eee;
  640. }
  641. #sidebar {
  642. color: #000;
  643. background: transparent;
  644. }
  645. #sidebarOptions {
  646. background: #fff;
  647. }
  648. #sidebarOptions input {
  649. border: 1px solid #ccc;
  650. }
  651. #sidebarOptions input:hover, #sidebarOptions input:active, #sidebarOptions input:focus {
  652. border: 1px solid #000;
  653. }
  654. #sidebarOptions .button {
  655. color: #999;
  656. }
  657. #sidebarOptions .button:hover {
  658. color: #000;
  659. background: #fff;
  660. border-color:white;
  661. }
  662. #sidebarOptions .button:active {
  663. color: #000;
  664. background: #fff;
  665. }
  666. #sidebarOptions .sliderPanel {
  667. background: transparent;
  668. }
  669. #sidebarOptions .sliderPanel A {
  670. color: #999;
  671. }
  672. #sidebarOptions .sliderPanel A:hover {
  673. color: #000;
  674. background: #fff;
  675. }
  676. #sidebarOptions .sliderPanel A:active {
  677. color: #000;
  678. background: #fff;
  679. }
  680. .sidebarSubHeading {
  681. color: #000;
  682. }
  683. #sidebarTabs {`
  684. background: #fff
  685. }
  686. #sidebarTabs .tabSelected {
  687. color: #000;
  688. background: #fff;
  689. border-top: solid 1px #ccc;
  690. border-left: solid 1px #ccc;
  691. border-right: solid 1px #ccc;
  692. border-bottom: none;
  693. }
  694. #sidebarTabs .tabUnselected {
  695. color: #999;
  696. background: #eee;
  697. border-top: solid 1px #ccc;
  698. border-left: solid 1px #ccc;
  699. border-right: solid 1px #ccc;
  700. border-bottom: none;
  701. }
  702. #sidebarTabs .tabContents {
  703. background: #fff;
  704. }
  705. #sidebarTabs .txtMoreTab .tabSelected {
  706. background: #fff;
  707. }
  708. #sidebarTabs .txtMoreTab .tabUnselected {
  709. background: #eee;
  710. }
  711. #sidebarTabs .txtMoreTab .tabContents {
  712. background: #fff;
  713. }
  714. #sidebarTabs .tabContents .tiddlyLink {
  715. color: #999;
  716. border:none;
  717. }
  718. #sidebarTabs .tabContents .tiddlyLink:hover {
  719. background: #fff;
  720. color: #000;
  721. border:none;
  722. }
  723. #sidebarTabs .tabContents {
  724. color: #000;
  725. }
  726. #sidebarTabs .button {
  727. color: #666;
  728. }
  729. #sidebarTabs .tabContents .button:hover {
  730. color: #000;
  731. background: #fff;
  732. }
  733. #sidebar {color:#999;}
  734. /*}}}*/</pre>
  735. </div>
  736. <div title="SiteSubtitle" modifier="YourName" created="200707181614" changecount="1">
  737. <pre>Developer documentation for Microsoft IronRuby</pre>
  738. </div>
  739. <div title="SiteTitle" modifier="YourName" created="200707181614" changecount="1">
  740. <pre>IronRuby Docs</pre>
  741. </div>
  742. <div title="SourceCodeLayout" modifier="JohnLam" modified="200707191618" created="200707191555" changecount="2">
  743. <pre>The IronRuby source code has the following layout:
  744. {{{
  745. \ironruby
  746. src\
  747. ironruby\
  748. ironrubylibs\
  749. microsoft.scripting\
  750. tests\
  751. ironruby\
  752. microsoft.scripting\
  753. utils\
  754. IronRuby.Tests\
  755. ironruby.console\
  756. classinitgenerator\
  757. }}}
  758. The src\ironruby directory contains the code for the compiler and the BuiltIns. We are currently not AcceptingContributions into the core compiler.
  759. The src\ironrubylibs directory contains the code for the StandardLibraries. We are AcceptingContributions into this directory tree.
  760. The tests\ironruby directory contains the UnitTests for the compiler, BuiltIns, and StandardLibraries.
  761. The tests\microsoft.scripting directory contains the UnitTests for the DynamicLanguageRuntime.
  762. The utils\IronRuby.Tests directory contains a set of tests that are useful if you want to step into the core compiler using a debugger.
  763. The utils\ironruby.console directory contains a simple console-based host for the IronRuby compiler that supports REPL-style programming.
  764. The utils\classinitgenerator directory contains a utility that will generate code from class and method attributes used in the libraries. </pre>
  765. </div>
  766. <div title="StandardLibraries" modifier="JohnLam" modified="200707192244" created="200707191511" changecount="4">
  767. <pre>The StandardLibraries are the same list of libraries described in Chapter 28 of the PickAxe book. These libraries will be compiled into a separate assembly, IronRubyLibs.dll. The sources live in \ironruby\src\ironrubylibs\.
  768. Here's a complete list of the libraries that we are looking for contributions in:
  769. !Libraries to be ported to C#
  770. # [[strscan|http://ruby-doc.org/stdlib/libdoc/strscan/rdoc/classes/StringScanner.html]]: a high-speed string token scanner
  771. # syck: high-speed YAML parser
  772. # zlib: library for [de]compressing streams and working with gzip files
  773. # bigdecimal: variable precision floating point library (GPL)
  774. # readline: wrapper around GNU readline library
  775. # curses: wrapper around C-based curses library
  776. # enumerator: adds enumeration support to arbitrary objects and mixes in Enumerable
  777. # fcntl: symbolic names for fcntl constants based on underlying OS
  778. # iconv: translates string between different character encodings
  779. # io: adds IO#ready? and IO#wait methods to standard IO class
  780. # pty: pseudo-terminal interface
  781. # racc: runtime library for code produced by racc [Ruby yacc]
  782. # stringio: treat a string as if it were an I/O stream
  783. # thread: utility methods for multithreaded programming. Queue utility class is still used today by some libraries - most functionality superceded by Monitor
  784. !Libraries that should delegate functionality to existing .NET libraries
  785. # openssl: wrapper around OpenSSL library
  786. # digest: various hashing algorithms (md5, rmd160, sha1, sha2)
  787. # dl: access underlying platform's DLL infrastructure [similar to Win32API]
  788. # socket: interface with platform socket implementation (unknown license)
  789. # Win32API: allows access to arbitrary Win32 functions P/Invoke style wrapper
  790. # win32ole: library for manipulating COM objects (GPL or Artistic License)
  791. !Libraries that target non-Windows platforms
  792. # Dbm: wrapper around DBM databases which are persistent hash-like files
  793. # gdbm: Ruby wrapper around GNU database
  794. # nkf: wrapper around Network Kanji Filter library - guess character encodings
  795. # sdbm: key-value hashtable persistence library
  796. # etc: used to retrieve data under /etc directory on Unix systems
  797. # syslog: wrapper around Unix syslog library
  798. # tk: library for creating cross-platform UIs
  799. </pre>
  800. </div>
  801. <div title="StyleSheet" modifier="YourName" modified="200701122313" created="200701122350" tags="LewcidOrangeBlogTheme" server.type="file" server.host="http://tiddlythemes.com/empties/LewcidOrangeBlog.html" server.page.revision="200701122313">
  802. <pre>[[SideBarWG]]
  803. /***
  804. !Top Menu Styles
  805. ***/
  806. /*{{{*/
  807. #topMenu br {display:none; }
  808. #topMenu { background: #000 ; color:#fff;padding: 1em 1em;}
  809. /*}}}*/
  810. /***
  811. !General
  812. ***/
  813. /*{{{*/
  814. body {
  815. background: #444;
  816. margin: 0 auto;
  817. }
  818. #contentWrapper{
  819. background: #fff;
  820. border: 0;
  821. margin: 0 auto;
  822. width: 792px;
  823. padding:0;
  824. }
  825. /*}}}*/
  826. /***
  827. !Header rules
  828. ***/
  829. /*{{{*/
  830. .titleLine{
  831. margin: 80px auto 0em ;
  832. margin-left:1.7em;
  833. margin-bottom: 40px;
  834. padding: 0;
  835. text-align: left;
  836. color: #fff;
  837. }
  838. .siteTitle {
  839. font-size: 2em;
  840. font-weight: bold;
  841. }
  842. .siteSubtitle {
  843. font-size: 1.1em;
  844. display: block;
  845. margin: .5em auto 1em;
  846. }
  847. .gradient {margin: 0 auto;}
  848. .header {
  849. background: #fff;
  850. margin: 0 auto;
  851. padding:0 12px;
  852. width: 768px;
  853. }
  854. /*}}}*/
  855. /***
  856. !Display Area
  857. ***/
  858. /*{{{*/
  859. #bodywrapper {margin:0 12px; padding:0;background:#fff; height:1%}
  860. #displayArea{
  861. margin: 0em 16em 0em 1em;
  862. text-align: left;
  863. }
  864. .tiddler {
  865. padding: 1em 1em 0em 0em;
  866. }
  867. h1,h2,h3,h4,h5 { color: #000; background: transp…

Large files files are truncated, but you can click here to view the full file