Skip to content

kpansky/pest_idl_v4_grammar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OMG IDL v4 grammar for pest

Docs Crates.io Crates.io 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. As such, it has not been fully tested. In many cases pest's eager matching causes an unexpected rule to match when the rules are ordered as in the reference EBNF grammar. As there is not a comprehensive test suite / example IDL file for this project, it is likely there are other undiscovered errors of this type. Problem reports are appreciated. Bonus points if an example triggering the error is included.

Usage

pest_idl_v4_grammar requires Cargo and Rust.

Add the following to Cargo.toml:

pest_idl_v4_grammar = "*"

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

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

License

Licensed under either of

at your option.

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.

About

OMG IDL v4 grammar for pest

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages