-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: Add an introduction and a design overview to the user guide #674
Conversation
And provide stubs for the How-Tos on parsing/navigating the syntax tree.
|
Updated! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few questions/suggestions.
documentation/public/user-guide/rust-crate/how-to-parse-a-file.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one suggestion.
@AntonyBlakey I believe this is still blocked on your re-review |
In preparation for #334 (and other how-tos).
This adds a bit more introduction and context to the user guide that should be independent on the actual API used (Rust/TS) and also provides stubs for the How-Tos on the parsing/navigating the syntax tree.
When I tried to write these specific how-tos, I thought that we should be able to define, at least from the higher level, what the CST is, how the process looks like and add some more context (e.g. multiple versions and why we need to create a specific version for the language, first). Also this helps establish a bit more structure to the guide that should help with writing more documentation/guides as we go.
Ironically, http://shader-slang.com/slang/user-guide/index.html helped me structure this a bit as a guide that the user is welcomed to and what they might benefit from (intro, context) before diving deeper into the guides/context.