[GSoC] gccrs Unicode Support

2023-03-31 Thread E M via Gcc-rust
Hi everyone! My name is Emanuele, and I’m software engineer currently in my last MSc year. I am writing to request your feedback on a proposal I written for this year’s GSoC. I understand that my proposal may have come late, but I have tried to follow the feedback and recommendations of

Re: [GSoC] gccrs Unicode support

2023-03-20 Thread Raiki Tamura via Gcc
2023年3月18日(土) 18:28 Jakub Jelinek : > That is a pretty simple thing, so no need to use an extra library for that. > As is documented in contrib/unicode/README, the Unicode *.txt files are > already checked in and there are several generators of tables. > libcpp/makeucnid.cc already creates tables

Re: [GSoC] gccrs Unicode support

2023-03-18 Thread Jakub Jelinek via Gcc
On Sat, Mar 18, 2023 at 05:59:34PM +0900, Raiki Tamura wrote: > 2023年3月18日(土) 17:47 Jonathan Wakely : > > > On Sat, 18 Mar 2023, 08:32 Raiki Tamura via Gcc, wrote: > > > >> Thank you everyone for your advice. > >> Some kinds of names are restricted to unicode alphabetic/numeric in Rust. > >> > >

Re: [GSoC] gccrs Unicode support

2023-03-18 Thread Raiki Tamura via Gcc
2023年3月18日(土) 17:47 Jonathan Wakely : > On Sat, 18 Mar 2023, 08:32 Raiki Tamura via Gcc, wrote: > >> Thank you everyone for your advice. >> Some kinds of names are restricted to unicode alphabetic/numeric in Rust. >> > > Doesn't it use the same rules as C++, based on XID_Start and XID_Continue?

Re: [GSoC] gccrs Unicode support

2023-03-18 Thread Jonathan Wakely via Gcc
On Sat, 18 Mar 2023, 08:32 Raiki Tamura via Gcc, wrote: > Thank you everyone for your advice. > Some kinds of names are restricted to unicode alphabetic/numeric in Rust. > Doesn't it use the same rules as C++, based on XID_Start and XID_Continue? That should already be supported.

Re: [GSoC] gccrs Unicode support

2023-03-18 Thread Raiki Tamura via Gcc
Thank you everyone for your advice. Some kinds of names are restricted to unicode alphabetic/numeric in Rust. And the current definition of the table defined in libcpp/ucind.h lacks some rows representing which characters are alphabetic/numeric. But it is not a problem because it seems to be easy

Re: [GSoC] gccrs Unicode support

2023-03-18 Thread Raiki Tamura via Gcc-rust
Thank you everyone for your advice. Some kinds of names are restricted to unicode alphabetic/numeric in Rust. And the current definition of the table defined in libcpp/ucind.h lacks some rows representing which characters are alphabetic/numeric. But it is not a problem because it seems to be easy

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Jakub Jelinek via Gcc
On Thu, Mar 16, 2023 at 01:58:57PM +0100, Mark Wielaard wrote: > On Thu, 2023-03-16 at 10:28 +0100, Thomas Schwinge wrote: > > I'm now also putting Mark Wielaard in CC; he once also started discussing > > this topic, "thinking of importing a couple of gnulib modules to help > > with UTF-8

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Jakub Jelinek via Gcc-rust
On Thu, Mar 16, 2023 at 01:58:57PM +0100, Mark Wielaard wrote: > On Thu, 2023-03-16 at 10:28 +0100, Thomas Schwinge wrote: > > I'm now also putting Mark Wielaard in CC; he once also started discussing > > this topic, "thinking of importing a couple of gnulib modules to help > > with UTF-8

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Mark Wielaard
Hi, On Thu, 2023-03-16 at 10:28 +0100, Thomas Schwinge wrote: > I'm now also putting Mark Wielaard in CC; he once also started discussing > this topic, "thinking of importing a couple of gnulib modules to help > with UTF-8 processing [unless] other gcc frontends handle [these things] > already in

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Mark Wielaard
Hi, On Thu, 2023-03-16 at 10:28 +0100, Thomas Schwinge wrote: > I'm now also putting Mark Wielaard in CC; he once also started discussing > this topic, "thinking of importing a couple of gnulib modules to help > with UTF-8 processing [unless] other gcc frontends handle [these things] > already in

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Thomas Schwinge
Hi! (By the way, this GSoC project is being discussed in GCC/Rust Zulip: .) I'm now also putting Mark Wielaard in CC; he once also started discussing this topic, "thinking of importing a couple of gnulib modules

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Thomas Schwinge
Hi! (By the way, this GSoC project is being discussed in GCC/Rust Zulip: .) I'm now also putting Mark Wielaard in CC; he once also started discussing this topic, "thinking of importing a couple of gnulib modules

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Raiki Tamura via Gcc
Sorry for resending this email. I forgot using “Reply All”. Thank you for your response, Arsen and Jakub. I did not know C++ also supports Unicode identifiers. I looked a little into C++ and found C++ accepts the same form of identifiers as Rust. So I will do further investigation of libcpp with

Re: [GSoC] gccrs Unicode support

2023-03-16 Thread Raiki Tamura via Gcc-rust
Sorry for resending this email. I forgot using “Reply All”. Thank you for your response, Arsen and Jakub. I did not know C++ also supports Unicode identifiers. I looked a little into C++ and found C++ accepts the same form of identifiers as Rust. So I will do further investigation of libcpp with

Re: [GSoC] gccrs Unicode support

2023-03-15 Thread Jakub Jelinek via Gcc
On Wed, Mar 15, 2023 at 11:00:19AM +, Philip Herron via Gcc wrote: > Excellent work on getting up to speed on the rust front-end. From my > perspective I am interested to see what the wider GCC community thinks > about using https://www.gnu.org/software/libunistring/ library within GCC >

Re: [GSoC] gccrs Unicode support

2023-03-15 Thread Jakub Jelinek via Gcc-rust
On Wed, Mar 15, 2023 at 11:00:19AM +, Philip Herron via Gcc wrote: > Excellent work on getting up to speed on the rust front-end. From my > perspective I am interested to see what the wider GCC community thinks > about using https://www.gnu.org/software/libunistring/ library within GCC >

Re: [GSoC] gccrs Unicode support

2023-03-15 Thread Arsen Arsenović via Gcc
Philip Herron via Gcc writes: > Hi Raiki Welcome, Raiki! > Excellent work on getting up to speed on the rust front-end. From my > perspective I am interested to see what the wider GCC community thinks > about using https://www.gnu.org/software/libunistring/ library within GCC > instead of

Re: [GSoC] gccrs Unicode support

2023-03-15 Thread Arsen Arsenović via Gcc-rust
Philip Herron via Gcc writes: > Hi Raiki Welcome, Raiki! > Excellent work on getting up to speed on the rust front-end. From my > perspective I am interested to see what the wider GCC community thinks > about using https://www.gnu.org/software/libunistring/ library within GCC > instead of

Re: [GSoC] gccrs Unicode support

2023-03-15 Thread Philip Herron via Gcc
Hi Raiki Excellent work on getting up to speed on the rust front-end. From my perspective I am interested to see what the wider GCC community thinks about using https://www.gnu.org/software/libunistring/ library within GCC instead of rolling our own, this means it will be another dependency on

Re: [GSoC] gccrs Unicode support

2023-03-15 Thread Philip Herron via Gcc-rust
Hi Raiki Excellent work on getting up to speed on the rust front-end. From my perspective I am interested to see what the wider GCC community thinks about using https://www.gnu.org/software/libunistring/ library within GCC instead of rolling our own, this means it will be another dependency on

[GSoC] gccrs Unicode support

2023-03-13 Thread Raiki Tamura via Gcc
Hello, My name is Raiki Tamura, an undergraduate student at Kyoto University in Japan and I want to work on Unicode support in gccrs this year. I have already written my proposal (linked below) and shared it with the gccrs team in Zulip. In the project, I am planning to use the GNU unistring