Skip to content

rvernagus/IronRubyInline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IronRubyInline

Allows C#, F#, and Visual Basic code to be compiled inline with IronRuby code.

Usage

gem 'iron_ruby_inline'
require 'iron_ruby_inline'

Examples

%Q{
public class CsCat
{
    public void Greet()
    {
        System.Console.WriteLine("Hai  u!");
    }
}
}.compile
cscat = CsCat.new
cscat.greet # Hai u!
%Q{
namespace Lolz
type Cat() =
    member this.Greet() =
        printfn "Hai u!"
}.compile(:language => :fs)
fscat = Lolz::Cat.new
fscat.greet # Hai u!

Copyright © 2009 Ray Vernagus. See LICENSE for details.

About

Allows C#, Visual Basic, and F# to be written inline with IronRuby.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages