9 unstable releases (3 breaking)
0.4.0 | Feb 25, 2023 |
---|---|
0.3.4 | Feb 14, 2023 |
0.2.1 | Feb 6, 2023 |
0.1.0 | Jan 31, 2023 |
#109 in Programming languages
49 downloads per month
135KB
3.5K
SLoC
Disclaimer: this readme is for developers interested in embedding Ena in their programs. If you are intersted in using Ena, please read the readme from the Github page.
Enalang
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.
Example
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.
Dependencies
~3.5MB
~68K SLoC