Idl grammar for tree-sitter
Project description
tree-sitter-idl
OMG IDL 4.2(with XTypes extension) grammar for tree-sitter.
current state
IDL 4.2:
- 7.3 Preprocessing(partial)
- 7.4.1 Building Block Core Data Types
- 7.4.2 Building Block Any
- 7.4.3 Building Block Interfaces – Basic
- 7.4.4 Building Block Interfaces – Full
- 7.4.5 Building Block Value Types
- 7.4.6 Building Block CORBA-Specific – Interfaces
- 7.4.7 Building Block CORBA-Specific – Value Types
- 7.4.8 Building Block Components – Basic
- 7.4.9 Building Block Components – Homes
- 7.4.10 Building Block CCM-Specific
- 7.4.11 Building Block Components – Ports and Connectors
- 7.4.12 Building Block Template Modules
- 7.4.13 Building Block Extended Data-Types
- 7.4.14 Building Block Anonymous Types
- 7.4.15 Building Block Annotations
- 7.4.16 Relationships between the Building Blocks
- 8 Standardized Annotations(partial)
DDS-XTypes:
- 7.3.1.2.3 Alternative Annotation Syntax (by idl_annotation)
extends
allow merge case
union A switch(long) {
case 1:
case 2: //< allow
case 3:
u8 a;
};
allow using simple_type_spec in template parameter
module MyTemplate <typename T, struct S, long m> {
// ^ allow
};
allow custom
prop appears in value_box_def
custom valuetype A a; // value_box_def
// ^ extend grammar
allow omit param_attribute
interface A {
void f(uint8 b);
};
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tree-sitter-idl-0.0.10.tar.gz
(77.3 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15297020b5f67a45356bed7cdb0f63cb75cb6f5ee166a617f81a7f9f53803d17 |
|
MD5 | 8d6684db20e990d934b5e13b4e1ef12e |
|
BLAKE2b-256 | 557f184ebee8a268cb24bd795d846900aaf99c104f03766f25a25b0807dc6eb9 |
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69e661349079323504e6a2fb94904404aef353a4e67b13784a6f5e1da9525712 |
|
MD5 | 09d2d36c8d09aeb6c264849a08046baf |
|
BLAKE2b-256 | 81f32b09ce0ad24de27a29d780c7508f861dfb6de1ed4f54465160ebab1a6783 |
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67dfd2e7d3ab119680ae71b2fb0ffb971f7f222da06390356337df10ea36ecdf |
|
MD5 | a031ccbe00c34f4bb24b22bc54f03b79 |
|
BLAKE2b-256 | 2fa5ecc825bf93a0d1cf7838f5185c04891cef7af6e9b7c0d6c716f33a37ceee |
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dac0bdf3dcba5a94e00c95e1800d2b460a1f82da6e702c3a02c6e87c1ee018c5 |
|
MD5 | 5d788d646a17de4520caedb8e6d4c2f6 |
|
BLAKE2b-256 | 8363d3eaa36e0706012083ed85a6f792bfefbde7ce9d82ad48e99671e4eafe6f |
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35280379332fbde81cc620f22d2f7cb9b3d3f4f4796c11145094ee7b7f5222ad |
|
MD5 | c800d07c57295dfed5a8bf0f0baaeeb0 |
|
BLAKE2b-256 | bcc562f51bb31ea0ef66bead5e0ee47e368c17eb8d3adf9bb3cb5603aee0caa9 |
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e5449b8ca2bead7da0f5cab84e270eff5d8bec2bb025b62c8da652c7a6eba57 |
|
MD5 | 35427bee05866eb821c18e1c3b4dd481 |
|
BLAKE2b-256 | e208e72bd163d0072f85d8f079b447814ecf7cea097b2da2692698a718001b89 |
Close
Hashes for tree_sitter_idl-0.0.10-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bdb0a101dfde86dbc9298e68b6a9962c2e1a11aa1be6f10f8ce42de5c040227 |
|
MD5 | 8dcd28e18a86171f76d3c11ef97ff645 |
|
BLAKE2b-256 | 9881e975f000f7b883f34814cf7cf8fd4014f84b2e2deeff184bb99341d9724a |