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
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.7.tar.gz
(76.5 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a97e5577fd17b2c0a5581c8748bdcd06167c61436eaa84f72076c851c868c992 |
|
MD5 | 8c314588da7ee1a62127ac74b916b0a2 |
|
BLAKE2b-256 | 0effc312e8b78a1e47ba6aa7cb157f61022b485ecdaab432673c25b88494ca60 |
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eaf63adbb5ffbde2cf3021bc19c99a73eb3028dec049afb1c54a10c9d5d80d6f |
|
MD5 | df7c97dcb4b0f543c1f1a1d4a3a30d3c |
|
BLAKE2b-256 | 8645ec8a67b301cb5807fe3d258af6e4b772737bc0f976aa493002e7ac38e1c9 |
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52abd6e28a2841553414bab5bd0856426065c1dd4841d0f234c70d2d8f10a875 |
|
MD5 | 610430970d0f7ca85215bef005f1a9fe |
|
BLAKE2b-256 | 0e20841c23f0557cc0ad2ef6178847f0b21ed1e79e0b320401d930f34b69bb15 |
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c227ecdaf8cbb3633b53e081ff9e0334364c701ff78ff88327da6ab96ef8b86 |
|
MD5 | 3e1223f2899f3efb4b8847e3bf62831f |
|
BLAKE2b-256 | df6f03afcbffb5489516368ddd815b2dd5307bf929054b85180713bb75bebc0f |
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce476de251c79e87ed534d7a5cbbfe0779190df05bc1141e688ca4b6a5e1172c |
|
MD5 | a6dddc4dd3a9fba6265b744cf92d0f92 |
|
BLAKE2b-256 | 8ad2e4856efccb4932195497a514f3badb686de1b78dbb45e6c27f721e04887e |
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0eb025a73289868752f9d6a75e495f02f67d24d488317a4fff4def61f7970e2 |
|
MD5 | 924708e8f66bb7449f5e70477d46314c |
|
BLAKE2b-256 | c828d8acd6e8e6ef908397572e4c67541aa51642d0b4b7db2d4c0053a203519f |
Close
Hashes for tree_sitter_idl-0.0.7-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f053dd85e150054aa98eae4a1ede3787ce1a80ef44cbc26864c7f57e3b516c8 |
|
MD5 | b67bf9d83d8c2b6cd45ac53ec1d8e247 |
|
BLAKE2b-256 | 10e4bb328867568c794718d8d614026930ecaede2ff56ccb2f2d35d91b4aa6e6 |