A Recap of Cool Libraries for Ruby
alfajango.com
A Recap of Cool Libraries for Ruby
1–9 of 9 posts
Re: A Recap of Cool Libraries for Ruby
#2Re: A Recap of Cool Libraries for Ruby
#3The Case gem (some information here: http://blog.objectmentor.com/articles/2009/03/16/tighter-rub... ) for pattern matching is also great, especially if you're dealing with large S-exp structures for compilation. After discovering a few of these libraries, Ruby has become my de facto compiler language.
Re: A Recap of Cool Libraries for Ruby
#4If you're a compiler type person, Treetop ( http://treetop.rubyforge.org/ ) and Polyglot ( http://polyglot.rubyforge.org/ ) are amazingly cool libraries. The Case gem (some information here: http://blog.objectmentor.com/articles/2009/03/16/tighter-rub... ) for pattern matching is also great, especially if you're dealing with large S-exp structures for compilation. After discovering a few of these libraries, Ruby has…
Re: A Recap of Cool Libraries for Ruby
#5If you're a compiler type person, Treetop ( http://treetop.rubyforge.org/ ) and Polyglot ( http://polyglot.rubyforge.org/ ) are amazingly cool libraries. The Case gem (some information here: http://blog.objectmentor.com/articles/2009/03/16/tighter-rub... ) for pattern matching is also great, especially if you're dealing with large S-exp structures for compilation. After discovering a few of these libraries, Ruby has…
Can you explain a bit more about Treetop to me? I'm not understanding the use cases. (Plain english would be nice...).
Re: A Recap of Cool Libraries for Ruby
#6If you're a compiler type person, Treetop ( http://treetop.rubyforge.org/ ) and Polyglot ( http://polyglot.rubyforge.org/ ) are amazingly cool libraries. The Case gem (some information here: http://blog.objectmentor.com/articles/2009/03/16/tighter-rub... ) for pattern matching is also great, especially if you're dealing with large S-exp structures for compilation. After discovering a few of these libraries, Ruby has…
Re: A Recap of Cool Libraries for Ruby
#7If you're a compiler type person, Treetop ( http://treetop.rubyforge.org/ ) and Polyglot ( http://polyglot.rubyforge.org/ ) are amazingly cool libraries. The Case gem (some information here: http://blog.objectmentor.com/articles/2009/03/16/tighter-rub... ) for pattern matching is also great, especially if you're dealing with large S-exp structures for compilation. After discovering a few of these libraries, Ruby has…
Can you explain a bit more about Treetop to me? I'm not understanding the use cases. (Plain english would be nice...).
Re: A Recap of Cool Libraries for Ruby
#8Re: A Recap of Cool Libraries for Ruby
#9A Ruby shell that allows you to do things like,
local_dir = Rush::Box.new('localhost')['/Users/adam/server_logs/'].create
servers = %w(www1 www2 www3).map { |n| Rush::Box.new(n) }
servers.each { |s| s['/var/log/nginx/access.log'].copy_to local_dir["#{s.host}_access.log"] }