Skip to main content

rl_lang/docs/entries/stdlib/rl/
mod.rs

1use crate::docs::entry::{FnEntry, StdEntry};
2
3mod check;
4mod eval;
5mod eval_isolated;
6mod lex;
7mod rl_version;
8mod source_name;
9
10use check::CHECK;
11use eval::EVAL;
12use eval_isolated::EVAL_ISOLATED;
13use lex::LEX;
14use rl_version::RL_VERSION;
15use source_name::SOURCE_NAME;
16
17pub static RL: StdEntry = StdEntry {
18    name: "rl",
19    description: "functions for introspecting and running rl source code from within rl itself",
20    functions: FUNCTIONS,
21    since: None,
22    unstable: false,
23};
24
25static FUNCTIONS: &[&FnEntry] = &[
26    &LEX,
27    &CHECK,
28    &EVAL,
29    &EVAL_ISOLATED,
30    &RL_VERSION,
31    &SOURCE_NAME,
32];