Replies: 1 comment
-
The JSON generation is primarily implemented in the slang-reflection-json.cpp file, with the core focus being the recursive handling of the Type type. It is not particularly difficult to understand. You can also refer to the project I developed, where I encapsulated a set of APIs for interacting with Slang, essentially a reimplementation of slangc. I have also implemented JSON processing, though currently, I only handle the parameters and entryPoints nodes. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there I want to load the reflection json file into a C# program, however I can't find any reference to a proper json schema or the underlying types. Is there any way to get a complete API reference?
Currently I try to run some examples and put it together myself, but it is very hard to reverse engineer it without missing a lot of things.
Beta Was this translation helpful? Give feedback.
All reactions