Skip to content

Hubro/tree-sitter-yang

Repository files navigation

Tree-sitter parser for YANG 1.1

Tree-sitter parser implementation for YANG, a data modeling language used to model configuration data, state data, Remote Procedure Calls and notifications for network management protocols.

https://datatracker.ietf.org/doc/html/rfc7950

TODO

  • Support quoted keypaths

    Parsing keypaths currently works well, but quoted keypaths are currently parsed as strings.

    It should be possible to parse quoted keypaths by creating a custom statement symbol for the keywords that expect keypaths (like augment, leafref and so on.)

About

Tree-sitter grammar for YANG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages