Allow exprs+bindings to optionally be ascripted

This commit is contained in:
Griffin Smith 2021-03-13 13:12:03 -05:00
parent 3dff189499
commit f8beda81fb
6 changed files with 264 additions and 38 deletions

View file

@ -5,9 +5,11 @@ use nom::{alt, char, complete, do_parse, many0, named, separated_list0, tag};
#[macro_use]
mod macros;
mod expr;
mod type_;
use crate::ast::{Decl, Fun, Ident};
pub use expr::expr;
pub use type_::type_;
pub type Error = nom::Err<nom::error::Error<String>>;