forked from Orchid/orchid
14 lines
363 B
Rust
14 lines
363 B
Rust
use super::bool::bool;
|
|
use super::conv::conv;
|
|
use super::cpsio::cpsio;
|
|
use super::num::num;
|
|
use super::str::str;
|
|
use crate::interner::Interner;
|
|
use crate::pipeline::ConstTree;
|
|
|
|
/// Build the standard library used by the interpreter by combining the other
|
|
/// libraries
|
|
pub fn mk_stl(i: &Interner) -> ConstTree {
|
|
cpsio(i) + conv(i) + bool(i) + str(i) + num(i)
|
|
}
|