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.2.0.tar.gz
(97.6 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e69333fb5e8ee5be5efd5cb71606a0a01385186050a7cc7a92a4c5fd00449b5 |
|
MD5 | 294d0d1433a076bb2e4b87d244111c6a |
|
BLAKE2b-256 | 58c735f8e8a142a4f82a5ea3821c6ffd3e1aa97e30b5b0f3a4beffede572c67b |
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef26d664e6b47e3a104dd5bd639ea98b254b2892970378ccc8ea4b2a0159241e |
|
MD5 | b6cfe40f41624a146f6452b1d108eeac |
|
BLAKE2b-256 | ccec95aa8a4237284f0d1fb37a8c2f25ab8ba18a56ad0e1eeb6fc9679ffb068a |
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60789b091a5a062cec4358faf9c81ac27bcec8bd9bd6c368320dfd1eb3988426 |
|
MD5 | b6620040d159e1d4ab0a834926a0fdac |
|
BLAKE2b-256 | 13f706fe7b7fbc5586c457cc4b22e41122961215f1ecf880cd5fa71790edb7c4 |
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2784b748179bcbefaaaef6d1422892f5e4f0264a5c7d703be844e7675b86ee1e |
|
MD5 | 27bfe3c2932dd54df96a75f7e39ee5ac |
|
BLAKE2b-256 | 1dd6e4431f72b63093de9778a63717564ae54e3a8785a30d1e12ef988c5226b4 |
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d0289f5dbecde9bcb3970aa0780cf6d01d702eae3d6055996fb1a55abd6ea1 |
|
MD5 | ed2cc557aecb729b5f144a33dbabd573 |
|
BLAKE2b-256 | 37d80a1c86799cc65382b32e3e710d2bd6ee58eaae342c3b8903ce185ea61c1b |
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 535c1b9ea1497139c73e0bf8c4ae6d8397055f38b59cb6ccf552bd75035df7d9 |
|
MD5 | 03e467d839cd49101cd2b0d9b76d921d |
|
BLAKE2b-256 | ec5686eb47a5f920900d3226eaa98735e1d245b321eb5d025814c151f5751959 |
Close
Hashes for tree_sitter_idl-2.2.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22ce50bf8ac7e3c2f0faa15ef042b729af404bc06bba302c9c792483e8585c8f |
|
MD5 | 71d6ba23fec28517ccf36dfac8167791 |
|
BLAKE2b-256 | 45cb575b47d4575420b47c82623b9efc992436b8f6e9b77ca6b2fbf6ac569d1c |