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);
};
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-1.0.0.tar.gz
(95.1 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b396260a855ebffabb40829455e653127ee9616a07ae21593eb4555ec12c69c6 |
|
MD5 | 8848165b0a98a49dc4277091969007aa |
|
BLAKE2b-256 | a595709b2114ff97968dfef5a4c7414137a1178548168cfa105a41d2bff71970 |
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7e506810f0b6d4cdab9eaf657c3a84e54bc2078acb83759cd2e14605915bf76 |
|
MD5 | b641fd2586fdaa17e1db1a7aed9aa43d |
|
BLAKE2b-256 | 533a5494089c0304a9d14e20285f96907e315a088a35726ab6a91a9f0a1a3465 |
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8365018fc6ff66f89b19076c31371129e827e86891b92532deacad5b19caa5d |
|
MD5 | 51a737039ec200c417eedb5f9ad52235 |
|
BLAKE2b-256 | a3abedc3bda1c8406a1cb809bf92c106552230b2cce2a394f37167bc6cbde1cd |
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90bcbebdd4c0222d6f8c8dfeade0adada78b2056cba4ba5219b36ba98217d744 |
|
MD5 | e4f37bd61d394997e40f7e536d12eb06 |
|
BLAKE2b-256 | f01f4dc81204a05a355b741eb5ffefa5bf3b5b3e003735e417f1bc54109dd836 |
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ea86be8756f267b648c09814ff73d7c33a9dcf6bf7b6f916ef29ece605339a7 |
|
MD5 | 0d94aed9bdc54e4824c0cbf18dd5edd8 |
|
BLAKE2b-256 | b7b59ef61ca39167df81fd4cac245e85efaa693ea15224ad7e0533a82d636071 |
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6eccec618101468c0fea668ebd92c7bc232c27513db5a0a9dd868ccd6117fbfb |
|
MD5 | 96e07a374f36eefa50eed171c9881c65 |
|
BLAKE2b-256 | 51247d657e0798433a1701b282df5a360a5a34844162b6830a1628a8f8709836 |
Close
Hashes for tree_sitter_idl-1.0.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 350c7e358a361f0e4a04e7dcbd7eeffc068c541426130dde3a51486a2728e350 |
|
MD5 | b69cf48e56e4f23800b3d89ed39091c1 |
|
BLAKE2b-256 | aaf72d2cb10b6f4a4f91a947c77ec9ae0658da278f297444ae1daff263512fdb |