Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 1.04 KB

README.md

File metadata and controls

21 lines (12 loc) · 1.04 KB

tree-sitter-sway

Build/test

Sway grammar for tree-sitter

References

  • The Sway Book - The Sway book describes the language in detail with examples.

Contributing

Sway language is under active development with new features added all the time. We want to keep this grammar as up to date as possible and contributions are very much appreciated.

If you find a bug or missing feature, please open an issue or send a pull request including the following.

  • example Sway code demostrating the bug
  • the current output of tree-sitter parse
  • (Optional) the expected output of tree-sitter parse

Pull requests will be tested against files in the corpus directory as well as sway files from the https://github.com/FuelLabs/sway. PRs should include a new test case in the corpus directory for every grammar rule change.