summaryrefslogtreecommitdiff
path: root/dhall_parser/src/lib.rs
diff options
context:
space:
mode:
authorNadrieril2019-04-13 12:08:14 +0200
committerNadrieril2019-04-13 12:08:14 +0200
commita4e8f799fb4665b210086c28647e0fa335384913 (patch)
tree479694d8a26b65f2eee6233450af592d4baf8bd4 /dhall_parser/src/lib.rs
parent5e41c4d1de45e2c799a1471692a715da565387e0 (diff)
Clarify role of dhall_generated_parser crate
Diffstat (limited to '')
-rw-r--r--dhall_generated_parser/src/lib.rs (renamed from dhall_parser/src/lib.rs)6
1 files changed, 1 insertions, 5 deletions
diff --git a/dhall_parser/src/lib.rs b/dhall_generated_parser/src/lib.rs
index e0843af..97a0d54 100644
--- a/dhall_parser/src/lib.rs
+++ b/dhall_generated_parser/src/lib.rs
@@ -1,14 +1,10 @@
// This crate only contains the grammar-generated parser. The rest of the
// parser is in dhall_core. This separation is because compiling the
-// grammar-generated parser is extremely slow. Eventually, the whole parser
-// should probably be moved to here.
+// grammar-generated parser is extremely slow.
// See the https://pest.rs documentation for details on what this crate contains.
// The pest file is auto-generated and is located at ./dhall.pest.
// It is generated from grammar.abnf in a rather straightforward manner. Some
// additional overrides are done in ../build.rs.
// The lines that are commented out in ./dhall.pest.visibility are marked as
// silent (see pest docs for what that means) in the generated pest file.
-// The abnf file has quite a lot of modifications compared to the one from
-// the standard. Hopefully those changes should be merged upstream, but for now
-// feel free to edit it to make parsing easier.
include!(concat!(env!("OUT_DIR"), "/grammar.rs"));