stdlib: Use Conlang module layout

This commit is contained in:
John 2024-07-25 07:05:57 -05:00
parent 4d6b94b570
commit a462dd2be3
4 changed files with 7 additions and 1 deletions

View File

@ -1,10 +1,12 @@
//! # The Conlang Standard Library //! # The Conlang Standard Library
pub mod preamble { pub mod preamble {
pub use super::num::*; pub use super::{num::*, str::str};
} }
pub mod num; pub mod num;
pub mod str;
#[cfg("test")] #[cfg("test")]
mod test; mod test;

4
stdlib/std/str.cl Normal file
View File

@ -0,0 +1,4 @@
//! TODO: give conland a string type
use super::num::u8;
type str = [u8];