From: Bryan English Date: Fri, 16 Jan 2026 03:06:59 +0000 (-0500) Subject: start of asm generating X-Git-Url: https://rethought.computer/gitweb//gitweb//git?a=commitdiff_plain;h=67f2a1801d8eb77772b0ab455a05283108c2509a;p=sorel-lang.git start of asm generating --- diff --git a/hylo-lang/hyloc/src/main.rs b/hylo-lang/hyloc/src/main.rs index 245a9e0..275e031 100644 --- a/hylo-lang/hyloc/src/main.rs +++ b/hylo-lang/hyloc/src/main.rs @@ -1,6 +1,7 @@ mod tokenizer; mod parser; mod ir; +mod riscv_asm_codegen; use hylo_interpret::Interpreter; diff --git a/hylo-lang/hyloc/src/riscv_asm_codegen.rs b/hylo-lang/hyloc/src/riscv_asm_codegen.rs new file mode 100644 index 0000000..521d95b --- /dev/null +++ b/hylo-lang/hyloc/src/riscv_asm_codegen.rs @@ -0,0 +1,71 @@ +use hylo_ir::*; + +use anyhow::*; + +use std::collections::HashMap; + +pub struct CodeGen<'a> { + module: &'a IRModule, + data_stack_size: usize, +} + +impl<'a> CodeGen<'a> { + pub fn new(ir_mod: &'a IRModule, data_stack_size: usize) -> Self { + Self { + module: ir_mod, + data_stack_size + } + } + + pub fn assembly(&mut self) -> Result{ + let mut lines = vec![]; + let mut string_table = HashMap::new(); + let mut string_index = 0; + + // Static strings + lines.push(".rodata\n".to_string()); + for ir in &self.module.data { + match ir { + IR::StringDef(some_string) => { + string_table.insert(some_string.clone(), string_index); + lines.push(format!("string_id_{}:", string_index)); + lines.push(format!(" .asciz \"{}\"", some_string)); // should this be .asciz? + lines.push("".to_string()); + + string_index += 1; + }, + _ => bail!("Currently only string definitions are supported in the data section.") + } + } + + // Data stack + lines.push(".data\n".to_string()); + lines.push("data_stack:".to_string()); + lines.push(format!(" .space {}", self.data_stack_size)); + + // Code + // TODO align? + lines.push(".text\n".to_string()); + + for ir in &self.module.text { + match ir { + IR::Label(name) => { + lines.push(format!("{}:", name)); + lines.push(" addi sp, sp, -16".to_string()); // allocate 16 bytes on stack + lines.push(" sw ra, 8(sp)".to_string()); // store return address on stack + }, + IR::Call(name) => { + lines.push(format!(" call {}", name)); + }, + IR::Ret => { + lines.push(" lw ra, 8(sp)".to_string()); // load return address from stack + lines.push(" addi sp, sp, 16".to_string()); // restore stack pointer + lines.push(" ret".to_string()); + }, + _ => bail!("not implemented yet"), + } + } + + Ok(lines.join("\n")) + } +} diff --git a/target/rust-analyzer/flycheck0/stderr b/target/rust-analyzer/flycheck0/stderr new file mode 100644 index 0000000..f244f75 --- /dev/null +++ b/target/rust-analyzer/flycheck0/stderr @@ -0,0 +1 @@ + Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.03s diff --git a/target/rust-analyzer/flycheck0/stdout b/target/rust-analyzer/flycheck0/stdout new file mode 100644 index 0000000..8e625da --- /dev/null +++ b/target/rust-analyzer/flycheck0/stdout @@ -0,0 +1,38 @@ +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.103","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/build/proc-macro2-bdf9ed00dad30299/build-script-build"],"executable":null,"fresh":true} +{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.103","linked_libs":[],"linked_paths":[],"cfgs":["wrap_proc_macro","proc_macro_span_location","proc_macro_span_file"],"env":[],"out_dir":"/home/bengl/rethought/hylo-lang/target/debug/build/proc-macro2-01b6d2c5fdefd348/out"} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#unicode-ident@1.0.22","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/unicode-ident-1.0.22/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"unicode_ident","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/unicode-ident-1.0.22/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libunicode_ident-4fec18d14b15363e.rlib","/home/bengl/rethought/hylo-lang/target/debug/deps/libunicode_ident-4fec18d14b15363e.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.42","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/build.rs","edition":"2018","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/build/quote-03d3df1af8178ab4/build-script-build"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#proc-macro2@1.0.103","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"proc_macro2","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/proc-macro2-1.0.103/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libproc_macro2-696ff2d61f065b42.rlib","/home/bengl/rethought/hylo-lang/target/debug/deps/libproc_macro2-696ff2d61f065b42.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_core@1.0.228","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["result","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/build/serde_core-31b971cf163f0f6c/build-script-build"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","derive","serde_derive","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/build/serde-49a10a9683562367/build-script-build"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#hashbrown@0.16.1","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hashbrown-0.16.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hashbrown","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/hashbrown-0.16.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhashbrown-3d3c587f4038bc13.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#equivalent@1.0.2","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/equivalent-1.0.2/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"equivalent","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/equivalent-1.0.2/src/lib.rs","edition":"2015","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libequivalent-9b88d636aa69c8ed.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#unsafe-libyaml@0.2.11","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/unsafe-libyaml-0.2.11/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"unsafe_libyaml","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/unsafe-libyaml-0.2.11/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libunsafe_libyaml-5d3cabcbf60870d4.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#itoa@1.0.15","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/itoa-1.0.15/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"itoa","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/itoa-1.0.15/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libitoa-bc1ca429a31fb99c.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#ryu@1.0.20","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ryu-1.0.20/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"ryu","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ryu-1.0.20/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libryu-e3abc3dffcbd16d9.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#syscalls@0.7.0","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syscalls-0.7.0/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syscalls-0.7.0/build.rs","edition":"2021","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","serde","serde_repr","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/build/syscalls-fd98ea5acf3ec59b/build-script-build"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#anyhow@1.0.100","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/Cargo.toml","target":{"kind":["custom-build"],"crate_types":["bin"],"name":"build-script-build","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/build.rs","edition":"2018","doc":false,"doctest":false,"test":false},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/build/anyhow-f0f8ac34947eb6de/build-script-build"],"executable":null,"fresh":true} +{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.42","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/bengl/rethought/hylo-lang/target/debug/build/quote-4fccd938ab7a0173/out"} +{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_core@1.0.228","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/bengl/rethought/hylo-lang/target/debug/build/serde_core-7b7cb0cfdf46fc20/out"} +{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228","linked_libs":[],"linked_paths":[],"cfgs":["if_docsrs_then_no_serde_core"],"env":[],"out_dir":"/home/bengl/rethought/hylo-lang/target/debug/build/serde-0c79bc1bb5bf9eba/out"} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#indexmap@2.12.1","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/indexmap-2.12.1/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"indexmap","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/indexmap-2.12.1/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libindexmap-274ebdc57a13914e.rmeta"],"executable":null,"fresh":true} +{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#anyhow@1.0.100","linked_libs":[],"linked_paths":[],"cfgs":["std_backtrace"],"env":[],"out_dir":"/home/bengl/rethought/hylo-lang/target/debug/build/anyhow-7dffd08ca73f1c01/out"} +{"reason":"build-script-executed","package_id":"registry+https://github.com/rust-lang/crates.io-index#syscalls@0.7.0","linked_libs":[],"linked_paths":[],"cfgs":[],"env":[],"out_dir":"/home/bengl/rethought/hylo-lang/target/debug/build/syscalls-45c42af557e79235/out"} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#quote@1.0.42","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"quote","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/quote-1.0.42/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","proc-macro"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libquote-49a93d0cff3d7298.rlib","/home/bengl/rethought/hylo-lang/target/debug/deps/libquote-49a93d0cff3d7298.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_core@1.0.228","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"serde_core","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_core-1.0.228/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["result","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libserde_core-a2045ddd2bbb2331.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#anyhow@1.0.100","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"anyhow","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.100/src/lib.rs","edition":"2018","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libanyhow-a8e29080dfa88f6a.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#syn@2.0.111","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.111/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"syn","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syn-2.0.111/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["clone-impls","default","derive","parsing","printing","proc-macro"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libsyn-d395eb58cbb9ffa6.rlib","/home/bengl/rethought/hylo-lang/target/debug/deps/libsyn-d395eb58cbb9ffa6.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_derive@1.0.228","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_derive-1.0.228/Cargo.toml","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"serde_derive","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_derive-1.0.228/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libserde_derive-dca8d717b71cd876.so"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_repr@0.1.20","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_repr-0.1.20/Cargo.toml","target":{"kind":["proc-macro"],"crate_types":["proc-macro"],"name":"serde_repr","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_repr-0.1.20/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":0,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libserde_repr-1a41abf411086f19.so"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde@1.0.228","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"serde","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde-1.0.228/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","derive","serde_derive","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libserde-a90341a4e2031dae.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#serde_yaml@0.9.34+deprecated","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"serde_yaml","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/serde_yaml-0.9.34+deprecated/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libserde_yaml-22ed54ad12da1e59.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"registry+https://github.com/rust-lang/crates.io-index#syscalls@0.7.0","manifest_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syscalls-0.7.0/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"syscalls","src_path":"/home/bengl/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/syscalls-0.7.0/src/lib.rs","edition":"2021","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":["default","serde","serde_repr","std"],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libsyscalls-7a60ab2d0d4883d8.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"path+file:///home/bengl/rethought/hylo-lang/hylo-ir#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hylo-ir/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hylo_ir","src_path":"/home/bengl/rethought/hylo-lang/hylo-ir/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhylo_ir-4b38e4623b5ebbc5.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"path+file:///home/bengl/rethought/hylo-lang/hylo-ir#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hylo-ir/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hylo_ir","src_path":"/home/bengl/rethought/hylo-lang/hylo-ir/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhylo_ir-6637db13cb880a28.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-message","package_id":"path+file:///home/bengl/rethought/hylo-lang/hylo-interpret#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hylo_interpret","src_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: field `strings` is never read\n --> hylo-interpret/src/lib.rs:14:5\n |\n 8 | pub struct Interpreter<'a> {\n | ----------- field in this struct\n...\n14 | strings: Vec,\n | ^^^^^^^\n |\n = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]}],"level":"warning","message":"field `strings` is never read","spans":[{"byte_end":119,"byte_start":108,"column_end":23,"column_start":12,"expansion":null,"file_name":"hylo-interpret/src/lib.rs","is_primary":false,"label":"field in this struct","line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":23,"highlight_start":12,"text":"pub struct Interpreter<'a> {"}]},{"byte_end":287,"byte_start":280,"column_end":12,"column_start":5,"expansion":null,"file_name":"hylo-interpret/src/lib.rs","is_primary":true,"label":null,"line_end":14,"line_start":14,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":12,"highlight_start":5,"text":" strings: Vec,"}]}],"code":{"code":"dead_code","explanation":null}}} +{"reason":"compiler-artifact","package_id":"path+file:///home/bengl/rethought/hylo-lang/hylo-interpret#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hylo_interpret","src_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhylo_interpret-3e4441b288f50835.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-message","package_id":"path+file:///home/bengl/rethought/hylo-lang/hylo-interpret#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hylo_interpret","src_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"message":{"rendered":"warning: field `strings` is never read\n --> hylo-interpret/src/lib.rs:14:5\n |\n 8 | pub struct Interpreter<'a> {\n | ----------- field in this struct\n...\n14 | strings: Vec,\n | ^^^^^^^\n |\n = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default\n\n","$message_type":"diagnostic","children":[{"children":[],"code":null,"level":"note","message":"`#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default","rendered":null,"spans":[]}],"level":"warning","message":"field `strings` is never read","spans":[{"byte_end":119,"byte_start":108,"column_end":23,"column_start":12,"expansion":null,"file_name":"hylo-interpret/src/lib.rs","is_primary":false,"label":"field in this struct","line_end":8,"line_start":8,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":23,"highlight_start":12,"text":"pub struct Interpreter<'a> {"}]},{"byte_end":287,"byte_start":280,"column_end":12,"column_start":5,"expansion":null,"file_name":"hylo-interpret/src/lib.rs","is_primary":true,"label":null,"line_end":14,"line_start":14,"suggested_replacement":null,"suggestion_applicability":null,"text":[{"highlight_end":12,"highlight_start":5,"text":" strings: Vec,"}]}],"code":{"code":"dead_code","explanation":null}}} +{"reason":"compiler-artifact","package_id":"path+file:///home/bengl/rethought/hylo-lang/hylo-interpret#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/Cargo.toml","target":{"kind":["lib"],"crate_types":["lib"],"name":"hylo_interpret","src_path":"/home/bengl/rethought/hylo-lang/hylo-interpret/src/lib.rs","edition":"2024","doc":true,"doctest":true,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhylo_interpret-8c8a8fc209c55986.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"path+file:///home/bengl/rethought/hylo-lang/hyloc#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hyloc/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"hyloc","src_path":"/home/bengl/rethought/hylo-lang/hyloc/src/main.rs","edition":"2024","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":false},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhyloc-58f075f82bafc9dc.rmeta"],"executable":null,"fresh":true} +{"reason":"compiler-artifact","package_id":"path+file:///home/bengl/rethought/hylo-lang/hyloc#0.1.0","manifest_path":"/home/bengl/rethought/hylo-lang/hyloc/Cargo.toml","target":{"kind":["bin"],"crate_types":["bin"],"name":"hyloc","src_path":"/home/bengl/rethought/hylo-lang/hyloc/src/main.rs","edition":"2024","doc":true,"doctest":false,"test":true},"profile":{"opt_level":"0","debuginfo":2,"debug_assertions":true,"overflow_checks":true,"test":true},"features":[],"filenames":["/home/bengl/rethought/hylo-lang/target/debug/deps/libhyloc-4df3a47409d99128.rmeta"],"executable":null,"fresh":true} +{"reason":"build-finished","success":true}