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
DDS-XTypes:
- 7.3.1.2.3 Alternative Annotation Syntax
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);
};
allow rust style oct number
const u8 A = 0o3;
allow binary number
const u8 A = 0b010101;
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-2.0.1.tar.gz
(98.3 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04d123f19ffe450381041ccfbc927dcb83c62b28f589508eccf5bc5809399573 |
|
MD5 | 214f67a53cadf074dd871823085b169c |
|
BLAKE2b-256 | f5796060e713686c9197920067b88c885d347dc6b1ac34362a3037fc3d5e4669 |
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87395aae52ec0766105a41b2907dc181b1704a0780610759e1e97beed10a3916 |
|
MD5 | 78eae58f8df68fdfd250069848b66b1c |
|
BLAKE2b-256 | 345981879ab5615ea7d65c5666656e1e6e5dcd0f1d420710e6ea04392ab556a1 |
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27bfc3ec8f018c24c626630cd8c0b8efbc139ca07382976ed8a3db6863b67942 |
|
MD5 | 569d1d5013e65e23c56d87df5c6430e9 |
|
BLAKE2b-256 | 517e93895c41670b01de5d539c857a684e0cd44374dc633ad12758f8e2d1a1c2 |
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f675301b759897ec5188966950a1cd4703bbc12601f734b256d6e20ba7c0f2e2 |
|
MD5 | 4d66711b23fd5b5add872412aef9a071 |
|
BLAKE2b-256 | e93c050d1f2038b6e26b7cf4a3a7983783c7b716d0b9de204e4c0fd49c31e492 |
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c09791c81a4bf05f6291539382f8fb8a0f1d29b03b3c7f98e673e7c3d5c31b52 |
|
MD5 | d15fae70e5fbc02118297214e80af6c5 |
|
BLAKE2b-256 | 68c15a798016ad1c103114aa01c8710ba08cd83b2f8a210f6558ea897c06db87 |
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7057ec6fd637c29dcc2234b4a4b8dd2cb4e447a81938033ba037a036eb11f7ae |
|
MD5 | 1d0896f4b783cc7f292b7007be3813c1 |
|
BLAKE2b-256 | 572e4f327a4952350b4e24c58aaeb4c1442a87f8c423e43b80888bf16443cdea |
Close
Hashes for tree_sitter_idl-2.0.1-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2792ad8195b5c19922901f4823e58294f7a59304c7ea411f75ebde650f71d2fa |
|
MD5 | e402d81eb2260ce71bd28af97a5ad6f5 |
|
BLAKE2b-256 | e261bc4161bf41663516a0ab31a1eb615184cfe08f1ec7924026659acaf231b4 |