On Thu, Mar 13, 2008 at 12:10:35AM -0700, Robin Lee Powell wrote: > On Thu, Mar 13, 2008 at 01:17:08AM +0100, felix winkelmann wrote: > > On Mon, Mar 10, 2008 at 9:44 AM, Robin Lee Powell > > <[EMAIL PROTECTED]> wrote: > > > > > > caketext is a work-alike port of the Perl module > > > Locale::Maketext (see > > > http://search.cpan.org/dist/Locale-Maketext/lib/Locale/Maketext.pod) > > > to Chicken Scheme. I haven't made any real-world use of it, > > > but I certainly intend to, and it's been tested thoroughly. > > > > Note that it would be relatively easy to add a hook to the > > compiler that allows re-writing all literal strings in a > > compiled program. > > > > If you would find something like that useful, just say so. > > Huh. I'm honestly not sure. A possible problem is that which > language I'm going to be writing to will be selected at run-time, > not compile time.
I later realized that if I could bind re-writing to a function that could inspect global variables/parameters/whatever to decide what to do, that would be fine, and possible useful. I'm worried of cases where rewriting would be bad, but since I can't think of any: Yes, please do that! Let me know how it works when you're done. -Robin -- Lojban Reason #17: http://en.wikipedia.org/wiki/Buffalo_buffalo Proud Supporter of the Singularity Institute - http://singinst.org/ http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/ _______________________________________________ Chicken-users mailing list Chicken-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/chicken-users