pub mod lexer;
pub mod ast;
pub mod parser;
pub mod compile;
pub mod error;
pub mod registry;
pub mod events;
pub mod const_constraints;
pub mod pragmas;
pub mod cursor_sugar;
pub mod pprint;
pub mod factory;
pub(crate) mod validate;
pub use factory::ConstArg;
mod modules;
mod binding;
pub use compile::{compile_gk, compile_gk_checked, compile_gk_with_path, compile_gk_strict, compile_gk_with_outputs, compile_gk_with_libs, compile_gk_with_libs_and_limit, eval_const_expr};
pub fn collect_expr_references(
expr: &ast::Expr,
out: &mut std::collections::HashSet<String>,
) {
validate::collect_references(expr, out);
}
pub fn stdlib_sources() -> &'static [(&'static str, &'static str)] {
compile::stdlib_sources()
}