Metadata-Version: 2.4
Name: rustorb-idl
Version: 0.3.0
Summary: IDL code generator for rustorb
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/rustorb/rustorb-idl
Project-URL: Documentation, https://github.com/rustorb/rustorb-idl/blob/main/docs/python-codegen.md
Project-URL: Changelog, https://github.com/rustorb/rustorb-idl/blob/main/CHANGELOG.md
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: System :: Networking
Classifier: Topic :: Software Development :: Object Brokering
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: idl_parser<0.7,>=0.6.2

# rustorb-idl

The IDL compiler of [rustorb](https://github.com/rustorb/rustorb), a CORBA
ORB with its core written in Rust. It reads IDL with
[idl_parser](https://github.com/sugarsweetrobotics/idl_parser) and writes
stubs and skeletons for:

- `-bpython`: the standard IDL to Python mapping, in the layout of
  omniidl -bpython (for the `rustorb` package); with `-Wbdds` or
  `-Wbdds_only`, `Foo_dds.py`, the DDS types for rustorb-dds's Python
  package `rustorb_dds`
- `-brust`: Rust (for `rustorb-core`; or `rustorb-codegen` in `build.rs`)
- `-bc++11`: the IDL to C++11 mapping (for the rustorb C++ binding)
- `-bjava`: the IDL to Java mapping (for the rustorb Java binding)

`-Wbami` adds the `AMI_<I>Handler` interfaces of callback AMI (python,
c++11, java), and in Python the `sendc_` operations of the stubs.

```sh
pip install rustorb-idl
rustorb-idl -bpython -C gen Echo.idl
rustorb-idl -bc++11 -C gen Echo.idl "$(rustorb-idl --idl-dir)/CosNaming.idl"
```

The options follow omniidl (`-I`, `-D`, `-C`, `-Wb...`; see
`rustorb-idl --help`). `rustorb-idl --idl-dir` prints the directory of the
standard IDL files that come with it (CosNaming.idl), which is also searched
for `#include`.

Licensed under GPL-3.0-or-later. Code produced by the generator is not
covered by this license.
