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

#324 in Programming languages

Download history 39/week @ 2024-02-22 14/week @ 2024-02-29 30/week @ 2024-03-28 27/week @ 2024-04-04

57 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–17MB
~202K SLoC