feat: make the interpreter as its own crate
This commit is contained in:
1 parent
ee67a041d2
commit
527434b9f9
8 files changed
+20
-557
No files matched your search
@@ -0,0 +1,8 @@
|
||||
use std::{fs::File, io::Write};
|
||||
|
||||
fn main() {
|
||||
// write the interpreter code to a local file
|
||||
let mut file = File::create("interpreter.js").unwrap();
|
||||
file.write_all(dioxus_interpreter_js::INTERPRTER_JS.as_bytes())
|
||||
.unwrap();
|
||||
}
|
||||
Reference in new issue
Block a user