freebsd-ports/devel/rubygem-inline/pkg-descr
Pav Lucistnik 2fe6ff7c79 - Update to 3.5.0
- Switch to rubygem distribution

PR:		ports/102856
Submitted by:	Ying-Chieh Liao <ijliao@csie.nctu.edu.tw>
Approved by:	maintainer timeout (seanc; 3 months)
Repocopy by:	marcus
2006-12-03 13:30:40 +00:00

24 lines
1.1 KiB
Text

Ruby Inline is an analog to Perl's Inline::C. Out of the box, it allows you to
embed C/++ external module code in your ruby script directly. By writing
simple builder classes, you can teach how to cope with new languages (fortran,
perl, whatever). The code is compiled and run on the fly when needed.
Using the package_inline tool Inline now allows you to package up your
inlined object code for distribution to systems without a compiler
(read: windows)!
FEATURES/PROBLEMS:
* Quick and easy inlining of your C or C++ code embedded in your ruby
script.
* Extendable to work with other languages.
* Automatic conversion between ruby and C basic types
o char, unsigned, unsigned int, char *, int, long, unsigned long
* inline_c_raw exists for when the automatic conversion isn't
sufficient.
* Only recompiles if the inlined code has changed.
* Pretends to be secure.
* Only requires standard ruby libraries, nothing extra to download.
* Can generate a basic Rakefile and package up built extensions for
distribution.
WWW: http://rubyforge.org/projects/rubyinline/