Function mlem_asm::program_to_writer [] [src]

pub fn program_to_writer(p: &Program, w: &mut Write) -> Result<(), Error>

Writes an assembled program to a writer in packed, self-describing CBOR (a format MLeM can natively consume.)

Writing to, i.e., a file allows you to save assembled "binaries" that MLeM can execute; you can also pass data over the network for distributed processing.