Fork me on GitHub

The first official release of Regal is out, lambdaisland/regal {:mvn/version "0.0.80"}, a library for converting Clojure data to regular expressions, as well as parsing regular expressions back to data, turning them into test.check generators, and smoothing over the differences between Java and JavaScript regex syntax. To celebrate the occasion we've created this interactive explainer.

๐ŸŽ‰ 60
๐Ÿ‘ 27
๐Ÿ‘‘ 24
๐ŸŒด 15

hox @U055NJ5CC - something for Malli, mayhaps? ๐Ÿ˜‰


Malli support is included (but can still be improved)


This is very cool, especially the ability to go forward and back between regal and regex.

Adam Helins17:07:59

"Rรฉgal" means "delicious, a treat" in French, which I find appropriate for such a fine work


In German it means "shelf". Less poetic but I guess you can use it to support other things ๐Ÿ™ƒ


I added some remarks here regarding the state of the library


congratz! I can keep it updated while malli evolves, pushed on small PR already.


Released a small update 0.0.89 , with some fixes to the parser, and Tommi's PR for the Malli integration.

Adam Helins17:07:14

A new CLJS library providing access to the canvas: It is the most boring canvas library, I hope it to become the most boring CLJS library. It just provide a nicer, more idiomatic access to the original API, just straightening a few things, but no abstractions that would obfuscate the real thing. I give a couple of reasons in the readme :)


I was looking for something like it today! Thanks

๐Ÿ‘ 3