SergeyTeplyakov/ObjectLayoutInspector

Other lang output in print for structs

dzmitry-lahoda opened this issue · 5 comments

C/Rust/F# output of C# structs instead of custom layout.

Is custom current print layout compatible with any ASCII based image/doc generator?

Hey, @dzmitry-lahoda sorry for not responding for so long.

Unfortunately, I can't get the question...

C# goes native (with some fun project like this https://github.com/MichalStrehovsky/zerosharp showing community interest). Native means that we write C# first and then pass data into C. There are tools to generate C# from C definition. There is not (not found) tool to generate vice versa.

Current output is defined and readable, but I guess there are huge amount of people who read C definition much faster than custom table one.

So generating compilable C header text instead of custom table for layout will server 2 purposes and may be useful. Other language like Rust may apply either.

Oh... I see. I'm not sure that this is useful, but I can definitely create an extension point to make the output generation pluggeable.

i you will mind to open issues open then it will be okey without any work. for voting.

Absolutely! Let's keep it opened.