Skip to content
/ heptgen Public

Generate c interface files from heptagon interface files.

License

Notifications You must be signed in to change notification settings

P-E-P/heptgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Generate c interface files from heptagon interface files.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages