From 3d28292157e1b6c9675ef64eddf53786c3e7dc5f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 29 Jul 2020 15:45:23 +0200 Subject: Switch to ungrammar from ast_src The primary advantage of ungrammar is that it (eventually) allows one to describe concrete syntax tree structure -- with alternatives and specific sequence of tokens & nodes. That should be re-usable for: * generate `make` calls * Rust reference * Hypothetical parser's evented API We loose doc comments for the time being unfortunately. I don't think we should add support for doc comments to ungrammar -- they'll make grammar file hard to read. We might supply docs as out-of band info, or maybe just via a reference, but we'll think about that once things are no longer in flux --- xtask/Cargo.toml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'xtask/Cargo.toml') diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index d1cfb5909..8140da87f 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -10,9 +10,10 @@ license = "MIT OR Apache-2.0" doctest = false [dependencies] -walkdir = "2.3.1" -pico-args = "0.3.1" -quote = "1.0.2" -proc-macro2 = "1.0.8" anyhow = "1.0.26" flate2 = "1.0" +pico-args = "0.3.1" +proc-macro2 = "1.0.8" +quote = "1.0.2" +ungrammar = "0.1.0" +walkdir = "2.3.1" -- cgit v1.2.3