Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Compilers > Re: Generate te...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 6 Topic 2369 of 2474
Post > Topic >>

Re: Generate text, given a regex

by Gene <gene.ressler@[EMAIL PROTECTED] > Mar 26, 2008 at 09:15 PM

On Mar 24, 2:48 am, Midhat <midhat...@[EMAIL PROTECTED]
> wrote:
> Hi. I want to generate text based on a given regex. just any text that
> satisifies the regex. Are there any existing tools/libraries to do
> that.
> [The harder question of coming up with strings that satisfy a
> context free grammar has been discussed at length.  See for
examplehttp://compilers.iecc.com/comparch/article/91-04-055-John]

Wow.  I really admire John's memory, having posted on the CFG topic 17
years ago.  It would be a simple matter to convert a regex to a
regular grammar.  The Common Lisp code in the last article would then
print all the strings given by the regex in increasing order of
length.
[Hey, I have this search engine on the archives, you know. -John]
 




 6 Posts in Topic:
Generate text, given a regex
Midhat <midhatali@[EMA  2008-03-23 23:48:39 
Re: Generate text, given a regex
m.helvensteijn@[EMAIL PRO  2008-03-27 00:49:58 
Generate text, given a regex
Domenico Bianculli <do  2008-03-27 23:56:04 
Re: Generate text, given a regex
Gene <gene.ressler@[EM  2008-03-26 21:15:45 
Re: Generate text, given a regex
Gene <gene.ressler@[EM  2008-04-11 13:23:32 
Re: Generate text, given a regex
"Russ Cox" <  2008-04-11 16:59:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 1:09:13 CDT 2008.