Has anyone made a “visual” (or otherwise more user...
# thinking-together
s
Has anyone made a “visual” (or otherwise more user friendly) programming tool for regular expressions?
👍 1
m
I've been thinking about it, and would like to try something inspired by this: https://rosie-lang.org/
s
Also see https://ohmlang.github.io/editor/ - not regex specifically but PEG based. (I kinda like PEGs more anyway). Click on the examples to see the parse tree that shows the associated rules on hover.
Oh just read - Rosie is PEG based too 😎
There's also some visual regex tools e.g. https://www.debuggex.com/
👍 1
f
I like this online regex "IDE": https://regex101.com/
👍 3
💯 1
e
In the Beads language i redesigned the syntax for regular expressions, and it transpiles 1:1 with existing syntax, but uses a much easier to read syntax. Regular expressions are no match for the fancy Parse operator in Red, or the fabulous Icon string matching language (a sequel to SNOBOL and SPITBOL), but for use with JS, being able to define regular expressions more gracefully is a nice feature IMHO. The horrible original syntax was motivated by the intense pressure on the original unix designers to keep character count low as they typed on a model 33 teletype.