Tree-IL Questions

2011-11-16 Thread Noah Lavine
Hello again, I've been working on the compiler issue and I've had to start looking at processing Tree-IL. As a result, I realized that the Tree-IL documentation is a bit out-of-date. I would like to fix it, but there are some things I don't understand. - It looks like every Tree-IL type has a src

Re: Accessing the environment's locale encoding settings

2011-11-16 Thread Peter Brett
Noah Lavine writes: > It seems like the right thing to do might be to do setlocale(LC_ALL, > "") in Guile's main(). Let me argue that this accomplishes two goals > which we want to accomplish That seems entirely reasonable to me, as long as libguile users can still set a non-environment locale b

Re: Accessing the environment's locale encoding settings

2011-11-16 Thread Noah Lavine
Hello, It seems like the right thing to do might be to do setlocale(LC_ALL, "") in Guile's main(). Let me argue that this accomplishes two goals which we want to accomplish - it does the right thing by default: you want your program to be able to talk to the user in the user's own language. This

Re: Accessing the environment's locale encoding settings

2011-11-16 Thread Ludovic Courtès
Hi Bruno, Thanks for your quick and insightful feedback. Bruno Haible skribis: > That is precisely the point. Only in C, C++, Objective C, PHP, and Guile, > it is the user's responsibility to set the locale. Look at the many > internationalization samples ("hello world" samples) in GNU gettext: