Skip to content

Bindings generator for Roc Toolkit.

License

Notifications You must be signed in to change notification settings

roc-streaming/bindgen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roc bindings generator

A helper script for generating part of the language bindings (enums, config structs) for Roc Toolkit.

Dependencies:

Prepare venv (script will automatically use it):

python3 -m venv env
env/bin/pip install -r requirements.txt

Run with --help for usage details:

$ ./bindgen.py --help
usage: bindgen.py [-h] -t {all,java,go} [--toolkit_dir TOOLKIT_DIR]
                  [--doxygen_dir DOXYGEN_DIR] [--go_output_dir GO_OUTPUT_DIR]
                  [--java_output_dir JAVA_OUTPUT_DIR]

Generate bindings

options:
  -h, --help            show this help message and exit
  -t {all,java,go}, --type {all,java,go}
                        Type of enum generation
  --toolkit_dir TOOLKIT_DIR
                        Roc Toolkit directory (default: ../roc-toolkit)
  --doxygen_dir DOXYGEN_DIR
                        Doxygen XML directory (default:
                        <toolkit_dir>/build/docs/public_api/xml)
  --go_output_dir GO_OUTPUT_DIR
                        Go output directory (default: ../roc-go)
  --java_output_dir JAVA_OUTPUT_DIR
                        Java output directory (default: ../roc-java)

About

Bindings generator for Roc Toolkit.

Resources

License

Stars

Watchers

Forks

Languages