#![deny(unused_must_use)]
#![deny(unreachable_patterns)]
#![allow(clippy::should_implement_trait)]
#![allow(clippy::new_without_default)]
#![allow(clippy::inherent_to_string)]
#[macro_use]
mod macros;
#[macro_use]
mod error;
mod compile;
mod eval;
mod interner;
mod omap;
pub mod prelude;
mod symbol;
mod template;
#[cfg(feature = "repl")]
pub mod repl;
pub use {
compile::{
compile,
lexer::scan,
parser::parse,
stmt::Stmt,
syntax::{Syntax, SyntaxTrait},
tag::Tag,
token::Token,
},
error::{line_and_col, print_error, Error, ErrorKind},
eval::{
args::Args,
builtin,
env::{eval, render, Env, Jump, Scope},
value::{self, Fn, Native, Object, Special, Value},
},
interner::Interner,
omap::OMap,
symbol::Symbol,
template::Template,
};
pub type Result<T> = std::result::Result<T, Error>;