Skip to main content

Crate zerodds_idl

Crate zerodds_idl 

Source
Expand description

IDL4 parser, AST, and semantic model (OMG IDL 4.2 / ISO/IEC 19516).

Crate zerodds-idl.

Safety classification: SAFE (std-only). See docs/architecture/02_architecture.md §3 and docs/architecture/04_safety_by_architecture.md §2.

This library provides the parser, AST types and semantic analysis for OMG IDL 4.2. Backend code generators (C, C++, C#, Java, Python, Rust) live in the binary crate zerodds-idlc, which consumes this library.

No no_std support: IDL parsing is a build-time operation (tool pipeline, code generator). IDL structures are compiled into finished binaries before they are deployed to embedded targets. A no_std IDL parser has no real use case. Safety quality is ensured via forbid(unsafe_code) + workspace clippy rules (no panic/unwrap/expect), not via embedded capability. See RFC 0001 (docs/rfcs/0001-idl-parser-architecture.md).

Re-exports§

pub use parser::Error;
pub use parser::parse;
pub use parser::parse_source;

Modules§

ast
Typed abstract syntax tree for OMG IDL 4.2 (T5.1).
config
Configuration for the public parse() API (T5.5).
cst
Concrete syntax tree (CST) — untyped tree representation of the parse result.
engine
Earley-Parse-Engine.
errors
Crate-wide diagnostics scaffolding.
features
IDL parser feature flags (spec-completeness via feature gating).
grammar
Grammar data model for the grammar-driven IDL parser.
lexer
Lexer stage of the IDL pipeline.
parser
Public top-level parser API (T5.4).
preprocessor
C-style preprocessor for OMG IDL 4.2.
semantics
Semantic annotation lowering + AST validation (WP 1.5 T-IDL1/2).