Ryan Davis | 24 Dec 20:45
Gravatar

[ruby-announce] RubyInline 3.0.0 Released

RubyInline version 3.0.0 has been released!

Ruby Inline is my quick attempt to create an analog to Perl's
Inline::C. It allows you to embed C or C++ external module code in
your ruby script directly. The code is compiled and run on the fly
when needed. The ruby version isn't near as feature-full as the perl
version, but it is neat!

** FEATURES/PROBLEMS:

+ Quick and easy inlining of your C or C++ code embedded in your ruby 
script.
+ Rudimentary automatic conversion between ruby and C basic types
   (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 uses standard ruby libraries, nothing extra to download.
+ Simple as it can be. Less than 230 lines long... um... sorta simple.

http://www.sf.net/projects/rubyinline/

Changes:

+ Complete rewrite with new design.
+ Multiple language support, works with C/C++ out of the box.
+ Multiple functions per compilation unit, now allowing entire
   classes to be defined and linked in one unit.
(Continue reading)

Ryan Davis | 21 Nov 05:51
Gravatar

[ruby-announce] RubyConf 2003 Presentations Posted

In absolute record time (5 days compared to 3 months), rubyconf 2003 
presentation materials have been posted.

They can be found at:

	http://www.zenspider.com/Languages/Ruby/RubyConf2003.html

I'm still waiting for some more, so check back periodically to see 
updates.

Thanks!
Simon Strandgaard | 13 Nov 12:39
Picon

[ruby-announce] regexp-engine v0.2

I am proud to present version 0.2 of my regexp-engine,
it takes up only 785 lines of Ruby code and can do the most 
fundemental operations. In my opinion its good OO.

Please feel free to ask me questions.

download:
http://rubyforge.org/download.php/200/regexp-engine-0.2.tar.gz

this projects RAA entry:
http://raa.ruby-lang.org/list.rhtml?name=regexp

browse CVS:
http://rubyforge.org/cgi-bin/viewcvs/cgi/viewcvs.cgi/projects/regexp_engine/source/?cvsroot=aeditor

Regular Expressions engine, a subproject of AEditor
2003, Copyright by Simon Strandgaard
http://aeditor.rubyforge.org/

About
=====

AEditor needs a regexp engine. You probably think, why not
rely on an existing engine (for instance Ruby's regexp engine) ?
Existing engines are not flexible enough. The iterator pattern 
provides that needed flexibility. Thus it should not matter
wheter the engine operate on: UCS-4 or UTF-8 or ASCII.

Goal is to build an engine which is fully compatible with Ruby's 
regexp syntax, which can work with iterators.
(Continue reading)

Michael Davis | 18 Oct 01:27

[ruby-announce] ANN: HStore version 0.91

A new version of the HStore class is now available.

An HStore stores and retrieves key/value pairs to and from disk similar to a Pstore. An HStore uses two
files, an index file containing a Hash of keys and the file position for each object and a data file
containing the values in the HStore. The index file is cached in a Hash in memory for fast look-ups. The
values are stored in a separate data file and are individually retrieved from disk with [] or fetch() and
written back to disk with []= or update()/insert(). 

This release contains performance enhancements and reduces the disk space used by HStores.

More information can be found at http://www.sevasoftware.com/hstore

Thanks, 

Michael Davis
Michael Davis | 18 Oct 19:41

[ruby-announce] ANN: Locana version 0.83

I am please to announce the latest release of Locana version 0.83. 

What it Locana?

Locana is a GUI for Ruby.  It runs on Windows 95/NT/2000/XP and Tk.  It draws all the widgets using a few basic
methods from a GUI binding (mswin32, tk, etc.).  It is mostly written in Ruby.  There is a small DLL for
Windows written in C for accessing Window functions and a small module written in C for Tk for connecting to
a Tk/TCL interpreter.

More information can be found at http://www.locana.org
Download at http://www.locana.org/locana_download.html

This release contains a lot of very nice enhancements, here are a few of them:

* Tested with Ruby 1.8.  
* Locana has been redesigned to create all widgets using a very basic set of commands from the native GUI.
 * Here are the pros this design:
   * greatly simplified the GUI interface
   * simplified testing
   * streamlined the relationship between Locana and the GUI by reducing the amount of data stored for each
object and basically eliminated most prior native GUI overhead
   * more consistent look and feel with a lot less issues to test and work around
   * you can more easily change and control the look and feel of any object and more easily create new objects
   * allowed me to easily track mouse activity over the border of an object so you can resize objects
   * everything runs much faster
 * The cons:
   * objects may not have the look and feel of the native GUI
* Added support for a File Browser (see notepad.rb for an example) and a Color Browser (see the
locana_builder.rb, double click on one of the color attributes).
* Added the Lborder class with several borders.  You should be able to easily add your own borders.
(Continue reading)

Jeremy Hylton | 26 Sep 16:11
Picon
Favicon

[ruby-announce] Lightweight Languages 2003 (LL3) CFP

          Lightweight Languages Workshop 2003 (LL3)
          ----------------------------------

       Saturday, November 8, 2003, MIT, Cambridge, MA
       http://ll3.ai.mit.edu/   mailto:ll3 <at> ai.mit.edu

            CALL FOR PRESENTATIONS

LL3 will be an intense, exciting, one-day forum bringing together the
best programming language implementors and researchers, from both
academia and industry, to exchange ideas and information, to challenge
one another, and to learn from one another.

The workshop series focuses on programming languages, tools, and
processes that are usable and useful.  Lightweight languages have been
an effective vehicle for introducing new features to mainstream
programmers.

We encourage presentations on topics of interest to the community of
lightweight language users and designers.  We prefer topics that will
interest a broad audience.  We do not require the presentation of
novel research ideas.

Proposal Abstracts
------------------
Due Friday Oct. 17

  We seek two to five page abstracts of talks to be given at the
  workshop.  Talks will be 30 minutes long, including time for
  questions and answers.  Presenters are not expected to submit
(Continue reading)

Francis Hwang | 26 Sep 05:07

[ruby-announce] Lafcadio 0.2.0

This is the first production release of Lafcadio, which is an 
object-relational mapping layer for use with Ruby and MySQL. It lets 
you treat database rows like first-class Ruby objects, minimizing the 
amount of time you have to spend thinking about MySQL vagaries so you 
can spend more time thinking about your program's logic.

While some of the features are a little rough, Lafcadio is solid enough 
for me to have used in on three professional projects (all of them 
database-driven web sites).

http://lafcadio.rubyforge.org/

Francis Hwang
http://fhwang.net/
Anders Bengtsson | 31 Aug 13:34
Picon
Favicon
Gravatar

[ruby-announce] [ANN] Madeleine 0.5


http://sourceforge.net/project/showfiles.php?group_id=74624

What is Madeleine?

  "Are you still using a database?"

  Madeleine is a Ruby implementation of Object Prevalence: 
  Transparent persistence of business objects using command
  logging and snapshots.

  http://madeleine.sourceforge.net/

There was a bug, so here's a fresh release, hopefully without it:

News in Madeleine 0.5:

    * Bug fix: Log order on recovery was wrong on some platforms
      (Reported by IIMA Susumu)
    * No longer requires the system clock to always increase
    * Shared locks for queries

/Anders
Berger, Daniel | 15 Aug 22:30
Favicon

[ruby-announce] [ANN] Win32Etc 0.0.1

Hi all,

I'm happy to announce the release of Win32Etc 0.0.1.  This module ports the
methods of the Etc module to the Win32 platform.

Synopsis
=======
require "win32etc"

puts "Login: " + Win32Etc.getlogin

p Win32Etc.getpwnam("some_user")
p Win32Etc.getpwuid(2001)

p Win32Etc.getgrgid(501)
p Win32Etc.getgrnam("some_group")

# Note that the structs returned on Win32 contains different members than
*nix does

Win32Etc.passwd{ |pw|
   p pw
}

Win32Etc.group{ |g|
   p g
}

This release is considered ALPHA.

(Continue reading)

Ryan Davis | 7 Aug 05:04
Gravatar

[ruby-announce] Coco/R for Ruby 1.0.0 has been released

Coco/R for Ruby 1.0.0 has been released.

	http://sourceforge.net/projects/coco-ruby/

DESCRIPTION:

(Stolen from http://www.scifac.ru.ac.za/coco/)

Coco/R combines the functionality of the well-known UNIX tools lex and
yacc , to form an extremely easy to use compiler generator that
generates recursive descent parsers, their associated scanners, and
(in some versions) a driver program, from attributed grammars (written
using EBNF syntax with attributes and semantic actions) which conform
to the restrictions imposed by LL(1) parsing (rather than LALR
parsing, as allowed by yacc ). The user has to add modules for symbol
table handling, optimization, and code generation in order to get a
running compiler. Coco/R can also be used to construct other
syntax-based applications that have less of a "compiler" flavour.

(Not stolen)

Coco/R(uby) is a port of Coco/R to ruby and generates pure ruby
parsers and scanners. This version of Coco/R is not related to Mark
Probert's version (http://raa.ruby-lang.org/list.rhtml?name=coco-rb).

This version of Coco/R generates pure ruby. Mark's version generates C
for ruby extensions. If you find this version too slow, you might want
to check out Mark's. If however, you need pure ruby or can't deploy
where there is a C compiler, you finally have an LL solution.

(Continue reading)

dblack | 6 Aug 23:51

[ruby-announce] RubyConf 2003: Call for Presentation Proposals


RUBY CONFERENCE 2003: Call for Presentation Proposals

Proposals for full-length presentations (about 45-50 minutes)
at the 2003 Ruby Conference are now being accepted at
<http://rubycentral.org/03/index.rb?dest=proposal>.

The deadline for proposal submission is August 20.  Announcement of
presentation selection and conference agenda will be made shortly
thereafter.

Looking forward to seeing, and possibly hearing, you at the Conference!

David Black
Chad Fowler

for Ruby Conference 2003 (http://www.rubyconf.org)
and Ruby Central, Inc. (http://www.rubycentral.org)

Gmane