This article http://blog.klipse.tech/clojure/2016/10/02/parsing-with-derivatives-regular.html is an interactive version of the first part of this paper: Parsive with derivatives - a Functional Pearl <http://matt.might.net/papers/might2011derivatives.pdf> - the part that shows how to implement a regular expression matcher in a few lines of code using a concept from 1964 named Brzozowski's derivative.
As David Nolen explains it in his talk about this paper at Papers We Love <https://youtu.be/FKiEsJiTMtI>, clojure.specimplementation is based on this paper. In this article, we are going to implement a regular expression matcher in clojure using Brzozowski's derivative. The theoretical part is a bit abstract but it worths making the effort as the implementation is really elegant. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.