Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
131 lines (114 sloc) 5.46 KB
<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="" xml:lang="en">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
<link rel="stylesheet" href="../css/master.css" type="text/css" media="screen"
charset="utf-8" />
<link rel="stylesheet" href="../css/lang.css" type="text/css" media="screen"
charset="utf-8" />
<script type="text/javascript">
window.DLR = {}
DLR.path = "../silverlight"
<script type="text/javascript" src="../silverlight/dlr.js"></script>
<script type="text/ruby" src="../silverlight/animate.rb" defer='false'></script>
<body id="ironruby" class='home page'>
<div id="nav">
<a href='index.html' class='active'>Overview</a><a href='download.html'>Download</a><a href='#'>Documentation</a><a href='#'>Support</a><a href='#'>Community</a><a href='#'>Blog</a>
<div id="header">
<h1><a href="#">IronRuby</a></h1>
<h2>the <a href="" class='lang' target='_blank'>Ruby</a>
programming language for the <a href='' class='dotnet' target='_blank'>.NET</a> Framework
<div id="what-is">
IronRuby is an open-source implementation of the Ruby
programming language which is tightly integrated with the
.NET Framework. IronRuby can use the entire .NET
Framework and any Ruby libraries, and all other .NET
languages can use Ruby code just as easily.
<div id="get">
<li id='download'>
<h3><a href='' target='_blank'>Download IronRuby 0.9</a></h3>
<a href='' target='_blank'>0.9.1 released 9/29/2009<br />
<a href='' target='_blank'>release notes</a> | <a href="" target='_blank'>source</a>
<li id="tryruby">
<h3><a href='' target="_blank">Try Ruby <span>in the <u>browser</u></span></a></h3>
Quickly run Ruby code in your
browser, without installing IronRuby.
<div id="console">
TODO: IronRuby console
<li id="tutorial">
<pre id="code-snippet"><code><span class="comment"># namespaces are modules</span>
<span class="keyword">include</span> <span class="constant">System</span>::<span class="constant">Collections</span>::<span class="constant">Generic</span>
<span class="comment"># indexers constrains type</span>
d = <span class="constant">Dictionary</span>[<span class="constant">String</span>, <span class="constant">Fixnum</span>].new
<span class="comment"># Ruby idioms just work</span>
d[<span class="string">'Hello'</span>] = <span class="number">1</span>
d[<span class="string">'Hi'</span>] = <span class="number">2</span>
<span class="comment"># this gives a TypeError</span>
d[<span class="number">3</span>] = <span class="number">3</span>
<span class="comment"># Enumerable methods work</span>
d.each{|kvp| <span class="keyword">puts</span> kvp}</code></pre>
Learn more with the online tutorial:
<a href='' id="tutorial-image" target='_blank'>
<img src="../images/ironruby-tutorial.jpg" alt="IronRuby tutorial" />
<li class='clear'>&nbsp;</li>
<ul class="question-answer">
<h3>Why IronRuby?</h3>
Ruby is an excellent
addition to the .NET Framework, providing Ruby developers with the power
of the .NET framework. Existing .NET developers can also use IronRuby
as a fast and expressive scripting language for embedding, testing, or
writing a new application from scratch.
<br />
And why target <span class="dotnet">.NET</span> you ask? The CLR is a great platform for creating
programming languages, and the DLR makes it all the more better for
dynamic languages. Also, the .NET framework (base class library,
presentation foundation, Silverlight, etc) give an amazing amount of
functionality and power to developers.</p>
<ul class="question-answer">
<h3>Lorem Ipsum?</h3>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
<ul id="footer">
<li>&copy; <a href=''>Microsoft Corporation</a></li>
<li id="footer-nav">
<a href='#'>Overview</a>|<a href='#'>Download</a>|<a href='#'>Documentation</a>|<a href='#'>Support</a>|<a href='#'>Community</a>|<a href='#'>Blog</a>
<li class="clear">&nbsp;</li>
Something went wrong with that request. Please try again.