Probably should have a `lib.rs`
AbhinavMir opened this issue · comments
Abhinav Srivastava / August Radjoe commented
I'm working on a project where I need Murph's capabilities, so writing a lib.rs
, are the maintainers open to having it here canonically?
Franfran commented
Sure, I can do that
Abhinav Srivastava / August Radjoe commented
Do you want me to take this up or is this something you'd want to do?
Franfran commented
I'm alright doing it, gonna do it today 🙂
Franfran commented
there you go: ec870eb
You can import murph using this:
# Cargo.toml
[package]
name = "mymurph"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
murph = { path = "/home/franfran/Projects/own/murph" }
// main.rs
use murph::parser;
fn main() {
let bytecode = String::from("6040");
let parsed = parser::parse(bytecode, false);
dbg!(&parsed);
}
Abhinav Srivastava / August Radjoe commented
Ain't nobody shipping faster than you here 🫡