Merge #47

47: Support destructuring assignments (RFC 2909) r=Veykril a=ChayimFriedman2

The supported patterns are already valid as expressions, except the rest pattern (`..`) and the wildcard pattern (`_`).

(We really should separate `rust.ungram` into the rust-analyzer repository, it blocks every syntax change).

Co-authored-by: Chayim Refael Friedman <chayimfr@gmail.com>
tree: f55a200c5d6af6f399610c93959495c3b6018dc2
  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