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
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
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.4.tar.gz
(72.7 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f2069d767c3d46588d3f1394a71836d5ee69d84fa93a653515552a972593485 |
|
MD5 | 5b0d49bb23e7070e8a7205f06725857d |
|
BLAKE2b-256 | bc093ef5d4a8571b88b9adc93fee4ba86715a41847d7ca3e9199eb0f522674bb |
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e605ab4090fe85b3a9378ff06d2614d08ec5ab7c4a19829593c58b42930ef2 |
|
MD5 | 6fbc473f71752425bf34b8efed891571 |
|
BLAKE2b-256 | a20f77097de2f0fb5e22444d451cfbc8e8d8cd35e1492ab7a00ce74b791e9b1f |
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6077f1d66f8e05048b0155c1522a27975a1211132b66fc671775c7c1a943eb70 |
|
MD5 | 332c5bb43dd76d7c6a94bb93402bb13a |
|
BLAKE2b-256 | c563035e46df3fb59f8a08d3e5d8e7cb3468124fbd114e747786a5c553d21e58 |
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75dda881aaea982f562ae54e96eaed9ef32c57fcb6430fdfdf1afa7d2a87d684 |
|
MD5 | 9cc359b7c914492ef2ea963aa9020a03 |
|
BLAKE2b-256 | f273e007fbbee748b41f478988df4f1717c815aef462bb61256dcb7c95c385f3 |
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e565dca9a0b8c30e16f72d42371de76dcf86558ca6762e5c5b150259e18707a6 |
|
MD5 | f660895580d57f64a7c8fe4de5695aea |
|
BLAKE2b-256 | ae6142a55d3117f24e88e030a91e434631076864f816d1fd0a08061f4f869281 |
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f3cfd845216f59c88c95abe3966cf0e4a34758cf7551329b49ba8fa316c0d33 |
|
MD5 | 430eed4eea8181a5682558def3b34d47 |
|
BLAKE2b-256 | ce3fe67e32eb91e525a740d54eda5e34a2c06a28217fbadff6c729f94d32538d |
Close
Hashes for tree_sitter_idl-0.0.4-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6cd7ea94f208c4a63520b61dbd0f83fccde417877814ce51e87c78483140e15 |
|
MD5 | 9c655430d3250af337caf3fb0f883a42 |
|
BLAKE2b-256 | 22f4251e2d292209759d4912bf7a9e8ada20c9263087628d2a1fd0cb9dfd715a |