heptgen

Crates.ioheptgen
lib.rsheptgen
version0.1.0
sourcesrc
created_at2022-05-12 17:15:25.854677
updated_at2022-05-12 17:15:25.854677
descriptionGenerate c interface files from heptagon interface files.
homepage
repositoryhttps://github.com/P-E-P/heptgen
max_upload_size
id585363
size56,119
(P-E-P)

documentation

README

Heptgen

Easily generate C functions and prototypes from an heptagon interface file.

This program will generate an empty code file as well as two headers, one for function prototypes, one for output types.

Example

A file names read.epi with the following content:

val fun myread(size:int) returns (samples:float^256)

Will generate the following files

  • read_types.h
  • read.h
  • read.c

Usage

$ hetpgen ./path/to/file.epi

Available options

  • --help show help informations
  • --force bypass extension verification
  • --overwrite force overwrite of existing file
Commit count: 17

cargo fmt