lang: work on various things
- work on new world - add file db - source_file parsing - locs - fix some test stuff
This commit is contained in:
parent
eb7806572b
commit
3eee768ce1
12 changed files with 395 additions and 14 deletions
14
crates/lang/src/world.rs
Normal file
14
crates/lang/src/world.rs
Normal file
|
@ -0,0 +1,14 @@
|
|||
use std::path::Path;
|
||||
|
||||
mod error;
|
||||
mod files;
|
||||
|
||||
struct World;
|
||||
|
||||
impl World {
|
||||
pub fn new(entry_point: &Path) -> Result<Self, WorldCreationError> {
|
||||
todo!()
|
||||
}
|
||||
}
|
||||
|
||||
enum WorldCreationError {}
|
Loading…
Add table
Add a link
Reference in a new issue