petr-stdlib 0.1.0

the petr language's standard library
Documentation
1
2
3
4
5
6
7
8
/// returns all files in the standard library
pub fn stdlib() -> Vec<(&'static str, &'static str)> {
    vec![
        ("std/ops.pt", include_str!("ops.pt")),
        ("std/io.pt", include_str!("io.pt")),
        ("std/mem.pt", include_str!("mem.pt")),
    ]
}