ObjectLayoutInspector icon indicating copy to clipboard operation
ObjectLayoutInspector copied to clipboard

Other lang output in print for structs

Open dzmitry-lahoda opened this issue 7 years ago • 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?

dzmitry-lahoda avatar Oct 03 '17 11:10 dzmitry-lahoda

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

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

SergeyTeplyakov avatar Apr 10 '19 17:04 SergeyTeplyakov

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.

dzmitry-lahoda avatar Apr 11 '19 14:04 dzmitry-lahoda

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.

SergeyTeplyakov avatar Apr 11 '19 18:04 SergeyTeplyakov

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

dzmitry-lahoda avatar Apr 11 '19 19:04 dzmitry-lahoda

Absolutely! Let's keep it opened.

SergeyTeplyakov avatar Apr 11 '19 19:04 SergeyTeplyakov