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
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.1.0.tar.gz
(77.8 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dc2e07bb71ae4c1215abf0348af24192b91fc52756453116a3ddf59b70fbfdc |
|
MD5 | 786fc0ee5f8af7ca1577fc07f2c6c112 |
|
BLAKE2b-256 | eef04168a2c077276756fe8f29b28f883a946d73df6dddc812145f2627585111 |
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86adaa6776e09bea187bd3dd8d1ccf403dde62d5a96bfde608685e43a78b1988 |
|
MD5 | 4b2240e1612381aae8332cf6d6323479 |
|
BLAKE2b-256 | 0ab3f681655d0318e580911891aa899dea70a855c729d1623b8062f8db881f70 |
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d0e717554d6f06039fccd0b8006da0e67cb8140e05fcb71aaafd46fb0a3c195 |
|
MD5 | 2b2b4be96a157718792d6458c4c02d34 |
|
BLAKE2b-256 | f2a8a4a70a3b29d3a96d01cd611dc6ef611987f839eb623d8332bf68fbd0d60d |
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 413870268afff8814dc76403d486f54b85e7e067cb0c1d7c092b9bf1ffc2ad04 |
|
MD5 | 2917dfbd673dbf21098014c352fd515f |
|
BLAKE2b-256 | 741e7da7f2b4f766857bc05a04211dda72f5e71b203a5e37c16eb55b95ceb146 |
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c33e7ba93f850f3eb51c125eedf007791ca8b315b7bae1f42e3a18bc7deb338 |
|
MD5 | 488254a262f23bfc0f4178b6fcb3806d |
|
BLAKE2b-256 | f6569610d913f8d1ed07259d58847c096764caafd5939a7469c01d99c1436718 |
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54c65535d2806ba388f080367c862b3d6d93a221fb2dc70c07c76be7864bcb0d |
|
MD5 | 78a1ca52e77ed1cdb22bccd0f606d3b8 |
|
BLAKE2b-256 | f2cf794a65b7184463921365c2be99d73f4b23e25f59c649245c408f5cc6eb5c |
Close
Hashes for tree_sitter_idl-0.1.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c277249ce2a6f8c863cd85c9fdfa6503047c9d26cb39ea438b7962f8fa5d1c |
|
MD5 | 8f184234fc047a2d0f570da531b072e4 |
|
BLAKE2b-256 | e04264bd2427c2e9f9cf6c152a078200ac7ad89ce6ccb0b03457a603b47de095 |