sergiorykov / Caramba

Name generator for unit tests
MIT License
2 stars 0 forks source link

Add filter as RedGate's Sql Data Generator does #2

Open sergiorykov opened 7 years ago

sergiorykov commented 7 years ago

http://www.red-gate.com/products/sql-development/sql-data-generator/

sergiorykov commented 7 years ago

It will require to parse Regex -> AST, and then compile it back to Expression

sample Mr|((Mrs|Miss|Ms)|Dr)(\.?)

https://github.com/aistrate/RegexParser

sergiorykov commented 7 years ago

one more way is to create simplified dsl https://www.nuget.org/packages/Irony/ http://www.jetbrains.com/mps/