C++ Logo

sg7

Advanced search

Re: [SG7] TS Reflection experimental implementation in Clang available

From: Matus Chochlik <chochlik_at_[hidden]>
Date: Thu, 2 Dec 2021 07:00:59 +0100
Hi,

Some of the possible enum-to-string and string-to-enum implementations:

https://compiler-explorer.com/z/Mdsrn6z3x
https://compiler-explorer.com/z/PK5bY9q56

https://compiler-explorer.com/z/5bEab1Pxa




On Wed, Dec 1, 2021 at 9:41 PM Matus Chochlik <chochlik_at_[hidden]> wrote:

>
>
> On Wed, Dec 1, 2021 at 9:17 PM Peter Dimov via SG7 <sg7_at_[hidden]>
> wrote:
>
>> Hana Dusíková wrote:
>> > Hi,
>> >
>> > I'm really happy that I can announce our own Matus Chochlik implemented
>> TS
>> > Reflection in his fork of Clang.
>> >
>> > You can experiment with it at Compiler Explorer: https://compiler-
>> > explorer.com/z/TrYEYhqMK
>> >
>> > And find source code here:
>> https://github.com/matus-chochlik/llvm-project
>> >
>> > Any feedback and bug report is welcome, I think Matus hopes for
>> upstreaming
>> > it soon.
>> >
>> > Thanks Matus for awesome work! ❤️
>>
>> Seconded.
>>
>> I would like to thank Peter for all the useful feedback that helped a lot
> with the debugging!
>

Received on 2021-12-02 00:01:12