From cd7b13a170550681a905a4cfcf1e94f0290860c8 Mon Sep 17 00:00:00 2001 From: Nadrieril Date: Mon, 11 Mar 2019 21:40:39 +0100 Subject: Add some explanatory comments --- dhall_core/src/parser.rs | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dhall_core/src/parser.rs') diff --git a/dhall_core/src/parser.rs b/dhall_core/src/parser.rs index 357d006..b0741ed 100644 --- a/dhall_core/src/parser.rs +++ b/dhall_core/src/parser.rs @@ -8,6 +8,11 @@ use dhall_parser::{DhallParser, Rule}; use crate::core; use crate::core::*; +// This file consumes the parse tree generated by pest and turns it into +// our own AST. All those custom macros should eventually moved into +// their own crate because they are quite general and useful. For now they +// are here and hopefully you can figure out how they work. + pub type ParsedExpr = Expr; pub type BoxExpr = Box; -- cgit v1.2.3