This crate contains the binary package for Ena and a Wrapper(enalang::Ena
). It also reexports enalang_compiler
as compiler and enalang_vm
as vm.
rs
let mut ena = enalang::Ena::new(enalang::EnaOptions::default());
ena.read_files(&[String::from("./test.ena")]).unwrap();
ena.parse_files().unwrap();
ena.compile_files().unwrap();
ena.link_files().unwrap();
ena.run("main").unwrap();
See the Github page for more info.