Merge #41

41: add Attr to RestPat r=XFFXFF a=XFFXFF

Try to fix https://github.com/rust-analyzer/rust-analyzer/issues/8610  
Related pr in rust-analyzer: https://github.com/rust-analyzer/rust-analyzer/pull/10420

Co-authored-by: zhoufan <1247714429@qq.com>
tree: de0b47fd15ddac696c4a36d29d3c23b5f50d5d7e
  1. .github/
  2. src/
  3. ungrammar2json/
  4. .gitignore
  5. bors.toml
  6. Cargo.toml
  7. README.md
  8. rust.ungram
  9. ungrammar.ungram
README.md

ungrammar

A DSL for specifying concrete syntax trees.

See the blog post for an introduction.

See ./rust.ungram for an example.

Editor support