#grammar-parser #omg #rtps #idl #grammar

omg-idl-grammar

OMG IDL v4.0 grammar for pest

2 unstable releases

0.2.0 Feb 5, 2026
0.1.0 Dec 29, 2025

#121 in Parser tooling


Used in 3 crates (via omg-idl-code-gen)

Apache-2.0

26KB
494 lines

OMG IDL v4 grammar for pest

License: Apache 2.0 License: MIT

Object Management Group Interface Definition Language v4.1 grammar for pest

Status

This grammar was manually converted from the EBNF Consolidated IDL Grammar Annex of the specification.

Usage

pest_idl_v4_grammar requires Cargo and Rust.

Add the following to Cargo.toml:

rtps-idl-grammar = "*"

and in your Rust lib.rs or main.rs:

extern crate pest;
use pest::Parser;
extern crate rtps_idl_grammar;
use rtps_idl_grammar::{Rule,IdlParser};


License:

Licensed under

Credits

Kevin Pansky: pest_idl_v4_grammar

Dependencies

~2–2.6MB
~52K SLoC