assembler: start tokenising multiline strings (WIP)

This commit is contained in:
2025-06-26 17:42:48 +01:00
parent ed4fcc8495
commit eebea82c4a
3 changed files with 153 additions and 42 deletions
+10
View File
@@ -235,3 +235,13 @@ fn test_multiline_with_comments() {
assert!(!(expected != *got), "Expected {expected:?}, got {got:?}");
}
}
#[test]
fn test_tokenise_brainf_interpreter() {
const SOURCE: &str = include_str!("../../../../resources/dsa/bf.dsa");
let tokens =
tokenize_source(SOURCE).expect("Failed to tokenise the brainfuck compiler!");
dbg!(tokens);
}