Skip to content

Tag Archives: Ruby

Calling Java Under Cygwin

While trying to set up Clojure under Cygwin I found that doing mixed-mode between Cygwin and Java isn’t very happy due to the ‘;’ vs ‘:’ in the classpath. This post (via this post) provided an obfuscated Ruby program to take care of that for you… thanks! #!/bin/ruby # Slightly obfuscated cygwin + windows java [...]

Adding Soft Typing to Ruby

Here is an interview with two of the Diamondback Ruby developers. You can read more about how there system works in this paper: Static Type Inference for Ruby. It is interesting that they took the approach to compromise by neither being too aggressive nor to permissive; in other words they wanted to make sure that [...]

Macros in Ruby

This looks like an interesting article about writing macros in Ruby.

Maglev Ruby

Ruby is often compared to Smalltalk; and I’m sure a bunch of folks have always wondered when someone would implement Ruby either on top of Smalltalk (or even in a similar manner to Smalltalk, aka Rubinius). Avi Bryant wondered as such, and seems to have gotten a job out of it in producing Maglev Ruby [...]

Emacs influence on Ruby

Who would’ve thought that Ruby’s block ‘end’ keyword was created to facilitate Emacs? Oh man! When [Matz] was first starting out writing Ruby, he was coding the Emacs ruby-mode.el for it at the same time. He expressed some frustration with modes for other languages like Python and Pascal in which the editor could not look [...]

Rubys Upto in a Scheme macro

For a lot of folks, Ruby has a syntax that is really irresistible. Iteration is one of the things in particular that is described as being quite simply, fun. Here is how it works: