/service-idl

Xtext-based Service IDL (Interface Definition Language) and Code Generators for Protobuf, C++, Java and .NET

Primary LanguageXtendEclipse Public License 2.0EPL-2.0

Build Status

codecov

Download

This repository contains a Service IDL defined in Xtext, and several code generators for C++, Java, .NET and Google Protocol Buffers.

It is currently experimental, and not yet suitable for general use.

Using the standalone command line generator

There is no release yet, but you can download the current snapshot from https://oss.jfrog.org/artifactory/oss-snapshot-local/com/btc/serviceidl/com.btc.serviceidl.plainjava/1.0.0-SNAPSHOT/com.btc.serviceidl.plainjava-1.0.0-SNAPSHOT.jar

When you downloaded it, you need to specify an IDL input file and an output directory, which must already exist:

java -jar com.btc.serviceidl.plainjava-1.0.0-SNAPSHOT.jar input.idl -outputPath out

Currently, the generator generates all artifacts (API, Proxy, Dispatcher, ...) for all target technologies (C++, C#/.NET, Java). This will be made configurable in the future.

Contributing

See the contribution guidelines.