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
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.9.tar.gz
(77.3 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a55d99cf8671db93432c34b2d534be3f9aecac44ae8efeb1a73b1a0a87c6665 |
|
MD5 | ae452c3c10ef88b67b6426bd14376923 |
|
BLAKE2b-256 | 08bfae549b122bfeafea3c28d4c4ef0ff73e98a13b4679e6bd2d218ce6c7de74 |
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e29599e442211f34e36d6a421dea0ac3679b9cc5b80f90333f54993a31fe1035 |
|
MD5 | 5646161cdbac0c92289f232416d778b5 |
|
BLAKE2b-256 | fc4cc4bc7ac6f66cbb3657a1bf47ddcdee7ac74c2764d8f69cf566397701a2e0 |
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24b01e2c1e990a528aeb6f2a378c98c43acd5884d03462c1f205e04a92e141f5 |
|
MD5 | 9389d6fd3814bf812452907fdf124a7d |
|
BLAKE2b-256 | 6cb8dff33b5e616eac99b3add7c01625893277de42c2c7ff1891d593c9410de0 |
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23cfae0d5943df8088a4419d32ab180c4dbe7f67e25468bfd9c46309d4232640 |
|
MD5 | 31c8fd91c6575bacf1b5407666cbfe72 |
|
BLAKE2b-256 | 51b4bb8a3762116e9e2b698ad64030f50262b15ba229f1a1584d33ba11d5dc43 |
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5220c96fc57059a0a8a02312c75af7b82cc8d9b7fc723aecd228b4c7f538e80 |
|
MD5 | 7d9d74b160c383f2643690dde1444c44 |
|
BLAKE2b-256 | 13fc610aa77684b0889934b2bbc83a3577ff4529aa72a20d84098fc1fc42f809 |
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c406ae01c5e5e6db23914f9ed54244dc3de58a45646a7e1d16fd72756dd62658 |
|
MD5 | 7d93f58114a7806bbcb8ecede3b18427 |
|
BLAKE2b-256 | 9ad2158ce6ff1ff32c25d4e37afb854abc012757c2550bc3a68b3f42711df316 |
Close
Hashes for tree_sitter_idl-0.0.9-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d32a4450fe233fcc0cf72d8fa111f87545c98bfb604160738d033d2c6df968 |
|
MD5 | c27310db5ddbfdb188cbc4f59d6299dc |
|
BLAKE2b-256 | 3edc1786d4f3db05261cd87343787aaf4e3f04bec601e5560a5b7a0b0010e374 |