[LLVMdev] LLVM supports Unicode?
geovanisouza92 at gmail.com
geovanisouza92 at gmail.com
Sun Aug 28 11:02:35 PDT 2011
Hi, Jo!
I'm trying create a new programming language, and I want that it have
Unicode support (support for read and manipulate rightly the source-code and
string literals).
But, in addition, my programming language supports "string interpolation"
string, and in these interpolations, tiny snippets of code, like
expressions, or variable names.
So, I need read each char, separating the interpolations.
However, if you have another sugestion, I will stay grateful in listen you.
[]'s
2011/8/28 Joachim Durchholz <jo at durchholz.org>
> Am 28.08.2011 16:02, schrieb geovanisouza92 at gmail.com:
> > Well, have you any idea about how I can implement rightly Unicode in
> C/C++?
>
> What do you mean with "implement in C/C++"?
>
> If you mean adding libraries to C/C++ that correctly deal with Unicode:
> that's nothing you do with a compiler infrastructure. And probably
> duplicate work, since Unicode libraries already exist.
>
> If you mean making the C/C++ compiler understand Unicode string
> literals: either that's in the language standard and implemented by
> conformant compilers already, or it's not in the language standard,
> implementing it would deviate from the standard, and it would not be
> "rightly" implemented. (I'm not a C/C++ guy so I don't know whether it's
> actually in the standard, but if it isn't, I guess any compiler has
> extensions already.)
>
> Hm.
>
> Maybe we're talking at the wrong level here, so:
> What's the problem/need that you wish to address?
>
> Regards,
> Jo
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
--
@geovanisouza92 - Geovani de Souza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110828/fdb070a0/attachment.html>
More information about the llvm-dev
mailing list