From: Bill Kelly Date: 2003-11-20T16:24:58+09:00 Subject: inline_ruby (was: Re: "stereotyping" thread) From: "Wesley J Landaker" > > Sometime I'll have to post about my C++ preprocessor that lets you embed > ruby in C++. Unlike other implementations I've seen, it's two-way -- > you can put variables in, and get them back out. ;) [...] > string s = "fooxar"; > printf("My favorite words are %s.\n", > inline_ruby { %{s}.sub('x','b') + " and " + "bar" }); Wow! That's really neat!! > Ah, I need to package that up for release, it's lots of fun. =) I'm definitely eager to try it out ! Regards, Bill