#idl #omg #parser

rtps-idl-grammar

OMG RTPS IDL v4.0 grammar for pest

2 releases

Uses old Rust 2015

0.2.3 Jan 12, 2019
0.2.1 Jan 11, 2019

#4 in #omg


Used in 3 crates (via rtps-idl)

MIT/Apache

26KB
482 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 either of

at your option.

Credits

Kevin Pansky: pest_idl_v4_grammar

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~3MB
~65K SLoC