Lisp's Influence on Ruby(blog.tacoda.dev) |
Lisp's Influence on Ruby(blog.tacoda.dev) |
Put the macros back! It would be so cool!
Nothing I would love more than a Ruby with a Common-Lisp like compiler and runtime. Unboxed types, native compilation, partial compilation, live image (Ruby has this but "faster Rubies" like Crystal don't), etc...
Also I'm working on a DSL/Macros that give me more Ruby-esque quality of life things in Lisp.
> Matz has said as much. He’s described Ruby’s design as starting from a simple Lisp, stripping out macros and s-expressions, then adding an object system, blocks, and Smalltalk-style methods. The features most Rubyists fall in love with aren’t the object-oriented ones. They’re the functional ones, dressed in friendlier clothes.
(Matz speaking at the LL2 conference some 20+ years ago)
But yeah, macros and S-expressions make it easier to write your own DSLs.