load multiple morphism base files

This commit is contained in:
Michael Sippel 2025-02-03 18:41:14 +01:00
parent 88978d9008
commit 1068b8ed45
Signed by: senvas
GPG key ID: F96CF119C34B64A6

View file

@ -151,8 +151,9 @@ fn parser(
fn main() {
let type_dict = Arc::new(RwLock::new(BimapTypeDict::new()));
for mb_path in std::env::args().skip(1) {
let src = std::fs::read_to_string(
std::env::args().nth(1).expect("expected file name")
mb_path
).expect("read");
let result = parser(type_dict.clone()).parse(src.clone());
@ -187,4 +188,5 @@ fn main() {
});
}
}
}
}