Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

undees/irule

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Irule

Irule, the .I.ron.RU.by tc.L. .E.xtension, is a Ruby library that provides a minimal wrapper around the Tcl programming language for IronRuby. It mimics the load_from_file and eval methods from its more full-featured cousin, the tcl Ruby library.

Prerequisites

  1. IronRuby.
  2. Tcl 8.5.
  3. Mono or .NET.

Installation

1. igem install irule, or just put tcl.rb and irule.dll somewhere in your LOAD_PATH.

2. On Linux or Mac, you might need to add the following to the <configuration> section of /etc/mono/config:

<dllmap dll="tcl85" target="tcl8.5"/>

Usage

Sample code:

require 'tcl'

tcl    = Tcl::Interp.load_from_file 'some.tcl'
result = tcl.eval 'someTclCode'

About

.I.ron.RU.by tc.L. .E.xtension

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published