Skip to main content

Crate microcom_codegen

Crate microcom_codegen 

Source
Expand description

microcom-codegen

Rust port of the parts of the MicroCom code generator (https://github.com/kekekeks/MicroCom) needed for the native interop IDL (frn.idl):

  • parse turns IDL text into an ast::Idl;
  • cpp::generate emits the C++ header (same output as MicroCom’s C++ generator, i.e. ferro-native.h);
  • rust::generate emits Rust bindings on top of ferroui-microcom.

Modules§

ast
Syntax tree of a MicroCom IDL file.
cpp
C++ header generator (same output shape as MicroCom’s C++ generator).
rust
Rust bindings generator.

Structs§

ParseError

Functions§

parse