A tool for generating source code from Blink schemas
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
AUTHORS
LICENSE
README.md
blinkc.js
cmdline.js
codegen.js
digest.js
extensions.js
java.js
schema-builder.js
schema-reader.js
schema.js
util.js

README.md

blinkc

blinkc.js generates source code from one ore more blink schemas. The tool is modular and will eventually support multiple output formats. Currently only Java is supported.

You run blinkc using nodejs like this:

nodejs blinkc.js -m java my.blink -p org.example -o src

This example will create Java classes for the definitions found in my.blink. The classes will appear in the package org.example and the .java files will be placed in directory structure matching the package under the target directory src.

You may specify -h/--help to blinkc.js to get a description of the available options. The help option is only available when you have specified an output method -m/--method since most of the options are specific to the selected output method.