Babel is an IDL parser and RPC framework using JSON over HTTP. IDL files describe models and web services. The babel
tool allows you to generate client and server code in multiple languages from the IDL file.
Visit the Babel RPC Home Page for more information.
The babel tools are:
- allbabeltypes - A test tool that generates a babel file containing most possible combinations of types, for testing.
- babel - The IDL compiler.
- babel2swagger - A tool to convert Babel to Swagger 2.
- babelproxy - A tool to use rest annotations to proxy RESTful APIs for a babel service.
The main Babel libraries are:
- babeltemplates - Language templates for Babel.
- generator - Code for language-specific code generators.
- idl - Code for Babel's Interface Definition Language.
- parser - A goyacc-based parser for Babel files.
- rest - Process RESTful annotations (attributes) in Babel files.
- swagger2 - Serialize Swagger 2 structures to JSON and YAML.
To fully build babel, you will need:
These are used by the go generate
. You won't need it just to compile.