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
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.6.tar.gz
(76.7 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a38110b8a127b8021a81312f06333c8bdf037044c956db7fe6c277d0852f362 |
|
MD5 | 30635ee681a78b722be1112656864d35 |
|
BLAKE2b-256 | 2ea7f4547b3e6df2e64e6e3d1003bc2aadd756d7f42c50023a843d104833e8e1 |
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea9051a87f45dede8dbdfef37b3b9ff831047e84a287c6cace207a9d563f62d9 |
|
MD5 | 2f6260f94fdc9082f970f995b6a0980b |
|
BLAKE2b-256 | 980f38ae02fe55c3cc8cb85d5a8ec4292487a5ddec1183e47850e7afcdc94059 |
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6f54e450a6e34f34767ab25d93ad0c9924c2ed76ce75f4609d9518c10f80138 |
|
MD5 | 1ea23c5b431c1871d1486cd64d0e94cd |
|
BLAKE2b-256 | ddd16e157e95d31dff3b2c0ee633034570edcbd12f01e3bfa2b7b92271ec8d68 |
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b1e03308aea06ce6ad4ad6c0ec6d69e0016e682a08ec230ab102ad49f0d711b |
|
MD5 | 8d610343384164cf9df72dee4afdd706 |
|
BLAKE2b-256 | 39faf1f5dcf7fb9aa8e89c4e9a946afed6e33b71f947a88d6b762ad8f22bca4b |
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8695ffb570e198750d06e883a9d38504533c654dfb3e5a19f79a05f755cff8a3 |
|
MD5 | df2960180bfe4605dde97fd9d9f5f694 |
|
BLAKE2b-256 | 5b77981d46c3bc6a6936496a277a2c0c84159b95fbe18c6c76a811ce35d453f3 |
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7cf63260d708a27eeef009bca700c3c09932b089cd16173aa5f9d575a1798458 |
|
MD5 | 26951aca6b3dcf18b365c99609e4701e |
|
BLAKE2b-256 | 144038f1cf791926c0a3805c692c6f4aaf07d0d442e1aa287424311f9b6b7f63 |
Close
Hashes for tree_sitter_idl-0.0.6-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 858f6838751084cca8b663911d5dde9a10cf7f343768a14b87de4c700c383f28 |
|
MD5 | 94672b89fc0aafde67f6b1184b41dc8d |
|
BLAKE2b-256 | fa88e1632975ae5a731c25863092b184ff8f3111b6fd48e03eedb1253036ba9b |