2019-05-10 16:59:12 +00:00
|
|
|
#![feature(crate_visibility_modifier)]
|
|
|
|
#![feature(in_band_lifetimes)]
|
2019-05-23 07:23:06 +00:00
|
|
|
#![feature(async_await)]
|
2019-05-24 04:34:43 +00:00
|
|
|
#![feature(try_trait)]
|
2019-05-24 07:29:16 +00:00
|
|
|
#![feature(bind_by_move_pattern_guards)]
|
2019-05-10 16:59:12 +00:00
|
|
|
|
2019-05-23 04:30:43 +00:00
|
|
|
mod cli;
|
2019-05-10 16:59:12 +00:00
|
|
|
mod commands;
|
2019-05-15 16:12:38 +00:00
|
|
|
mod context;
|
2019-05-10 16:59:12 +00:00
|
|
|
mod env;
|
|
|
|
mod errors;
|
2019-05-28 06:45:18 +00:00
|
|
|
mod evaluate;
|
2019-05-10 16:59:12 +00:00
|
|
|
mod format;
|
|
|
|
mod object;
|
2019-05-11 04:45:57 +00:00
|
|
|
mod parser;
|
2019-05-13 17:30:51 +00:00
|
|
|
mod prelude;
|
2019-05-16 21:43:36 +00:00
|
|
|
mod shell;
|
2019-05-23 04:30:43 +00:00
|
|
|
mod stream;
|
2019-05-10 16:59:12 +00:00
|
|
|
|
|
|
|
use std::error::Error;
|
|
|
|
|
|
|
|
fn main() -> Result<(), Box<Error>> {
|
2019-05-26 06:54:41 +00:00
|
|
|
pretty_env_logger::init();
|
2019-05-24 04:34:43 +00:00
|
|
|
futures::executor::block_on(crate::cli::cli())?;
|
2019-05-23 07:23:06 +00:00
|
|
|
Ok(())
|
2019-05-15 16:12:38 +00:00
|
|
|
}
|