3d28292157
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
20 lines
313 B
TOML
20 lines
313 B
TOML
[package]
|
|
edition = "2018"
|
|
name = "xtask"
|
|
version = "0.1.0"
|
|
authors = ["rust-analyzer developers"]
|
|
publish = false
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
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"
|