I've been browsing at a used books store, and bought the book "Higher order Perl" by Mark-Jason Dominus. It's been published in 2003 but is still pretty amazing. It's about doing things that people normally associate with languages like Haskell, but in Perl. But it doesn't stop there. The book goes on to show an implementation of a parser infrastructure somewhat like ANTLR (but as you can imagine, with a lot less code), which is pretty mind-boggling, and then goes on to use it for a declarative drawing system that solves linear equations to determine the positions of the elements as described in a domain-oriented language.
The book can now be downloaded for free: https://hop.perl.plover.com/#free from the web site.
No comments:
Post a Comment