News for hackers. Stuff that matters.
Re:Automatic Generation of Regular Expressions from Examples by RyanMcGreal on Monday October 22, 2012 @08:07AM (#4682758)
I can see how this supports TDD. Write a test suite and it will generate a regex that passes it.
Re:Automatic Generation of Regular Expressions from Examples by ajanuary on Monday October 22, 2012 @02:41PM (#4684697)
I can't find it now, but I've read about projects generating haskell code from unit tests. Anyone got links?
Re:Automatic Generation of Regular Expressions from Examples by IsTom on Monday October 22, 2012 @04:19PM (#4685302)
I don't know about generating code from unit tests, but there's Djinn for generating code from type signatures.
Re:Automatic Generation of Regular Expressions from Examples by egonschiele on Monday October 22, 2012 @09:14PM (#4686350)
Re:Automatic Generation of Regular Expressions from Examples by Evbn on Monday October 22, 2012 @11:27PM (#4686567)
QC generated random examples from a rule, not the reverse.