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

View file

@ -33,6 +33,6 @@ fn check_parser(input: &str, parser_fn: fn(&mut Parser), output: &str) {
let p_out = dbg!(parser.finish());
let o = Output::from_parser_output(toks, p_out);
let s = format!("{o:?}");
let s = strip_ansi_escapes::strip_str(format!("{o:?}"));
assert_eq!(&s, output);
}