-
Notifications
You must be signed in to change notification settings - Fork 15
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
Language Support: YAML #53
Comments
I've considered how this support should be and decided to introduce a new DSL to describe a query, apart from the current one, to search over/transform codes. Note that this decision still needs to be self-reviewed carefully. ReasonOur existing DSL is good at describing a query in the almost same form as codes to search over/transform. However, for some languages that are used for describing a data structure instead of a control flow, such as JSON or YAML, this kinda DSL could be expressive too much! What we really need to handle them is a simpler one with minimum expressivity. Initial Design of Our New DSLNow I'm thinking about syntax & semantics for our new DSL. It can be something like Another choice could be some kinda language with a notation to describe the commutativity of components. I may have read an academic paper on this topic. |
tree-sitter grammar for YAML is here. It would be helpful to validate YAML quickly.
The text was updated successfully, but these errors were encountered: