preprocessing printf/regex strings (like ocaml)

anatoli anatoli@yahoo.com
Tue, 14 May 2002 08:19:31 -0700 (PDT)


Robert Ennals <Robert.Ennals@cl.cam.ac.uk> wrote:
> I personally much prefer the syntax currently used in Haskell, which is also 
> essentially what is used in most other recent languages, including Java, C++, 
> and (god help me) Perl.
> 
> In the example given, I could write:
> 
> "I have " ++ action ++ " " ++ number ++ " " ++ whatas
> where
>     action = "trained"
>     number = show 1
>     whatas = "Jedi"

This is all fine and dandy, but how would you translate this to
42 different languages your customers want supported, with
different word order and all that?
-- 
anatoli t.

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com