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:
Schrottkatze 2024-07-06 21:57:42 +02:00
parent eb7806572b
commit 3eee768ce1
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
12 changed files with 395 additions and 14 deletions

14
crates/lang/src/world.rs Normal file
View 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 {}