11 unstable releases (5 breaking)

0.6.1 Dec 20, 2023
0.5.2 Nov 6, 2023
0.4.0 Feb 25, 2023
0.3.4 Feb 14, 2023
0.1.0 Jan 31, 2023

#347 in Programming languages

43 downloads per month

GPL-3.0-only

170KB
4.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

~6–18MB
~196K SLoC