Example files and exercises for Bruce A. Tate's book Seven Languages in Seven Weeks.
Day1: Basic examples covering the language syntax, Ruby's duck typing approach and pattern matching.
Day2: Examples for file IO, using advanced data structures, functions and blocks, including a simple version of grep. A simple tree implementation illustrates these concepts and explains some of the magic in Ruby.
Day3: Ruby's object model and metaprogramming exercises. For example, mixins and metaprogramming can be used to handle CSV files conveniently.
Python is not covered by Tate's book. However, I tried to implement some of the examples of the book in Python, just as an exercise and for the fun of it.
Day2: A simple version of grep and a port of a tree data structure in Python using Iterators.