chandeliers-std

Crates.iochandeliers-std
lib.rschandeliers-std
version1.0.0
sourcesrc
created_at2023-10-25 12:49:06.891226
updated_at2024-01-05 20:23:50.260622
descriptionA standard library for the Chandeliers suite
homepage
repositoryhttps://github.com/Vanille-N/chandeliers
max_upload_size
id1013341
size5,482
Neven Villani (Vanille-N)

documentation

README

Chandeliers-Std

Standard library for the Chandeliers suite (Lustre-in-Rust).


This crates provides definitions of Lustre nodes written in the style of Candle (see chandeliers-sem). These nodes usually cannot be primitively expressed in pure Lustre.

Provided

Type conversions

In module cast:

extern node float_of_int(i : int) returns (f : float);
extern node ceil(f : float) returns (i : int);
extern node floor(f : float) returns (i : int);

Randomness

In module rand:

extern node random_int() returns (i : int);
extern node random_float() returns (f : float);
extern node random_bool() returns (b : bool);
Commit count: 220

cargo fmt