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);
};
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-1.1.0.tar.gz
(97.2 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-1.1.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6499b2fa8a75c60c334b102990b74af0020f7e1bd925a4f380c4bbd4d4722ed9 |
|
MD5 | f61c148965098bf78b33ad97bcd1e8f9 |
|
BLAKE2b-256 | 003f9e00fe1acdc9e0f0beb83df0d9fcd22dea07487fbff342563eaf888282a7 |
Close
Hashes for tree_sitter_idl-1.1.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69017f54a1da4e05691800deeb31e8a658ab1d714ee2aa949911db8850b57e3c |
|
MD5 | f582eb2c72c28a0be207f70f3242d4ee |
|
BLAKE2b-256 | a6f91176dfaf2fa80304efd4121bda8a1764c37e7c2bde8ef04b5e4c567f2674 |
Close
Hashes for tree_sitter_idl-1.1.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1e0f7cfa537311ecd68d420387a80ddb6623daaa2bd77d276e596e1eba9f083 |
|
MD5 | cdc42c04f7821eae4e2d792ff2e9e6ce |
|
BLAKE2b-256 | a4454fbedad1cce768612bfd92153d9d7debf21f2fe542002098985c383cfe6d |
Close
Hashes for tree_sitter_idl-1.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2934164d7f317842cfa789986296544ddc0f8b7cc84bbd3fbce80200be7f0815 |
|
MD5 | a32cef146c30d2e431f2c3514a3ea066 |
|
BLAKE2b-256 | 1bcb233588fc35e18e530a09911c0b6ce558fadc96f0393020c2a707bcbb3a68 |
Close
Hashes for tree_sitter_idl-1.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 | 6e5c5071f00d5616fad6307a5f3fbd99da499a9736b67988f479e289755ad014 |
|
MD5 | d8c3d42c8e13bb8f21fbdb891ce4eca6 |
|
BLAKE2b-256 | 8b4eca50474e774c0fac9b6df6aaa78d0e49491cb4742123dda4fa97d1a2a4fa |
Close
Hashes for tree_sitter_idl-1.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d95ad31e11ba80b3509ce20817a82c7e6c0dfab34eea209d262b2c5501f9ea31 |
|
MD5 | 3104714308cfe893b1a347aa90a81c95 |
|
BLAKE2b-256 | 0b3d0f6295e854a3bc660fba0150e5be5fc76d5d118edfbc7c0c89ff290a88de |
Close
Hashes for tree_sitter_idl-1.1.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9fe7ebaa531bc5470175eaababe82791cf8ab506b746b01c87852ba3d79b269 |
|
MD5 | 3cff8858104ac1cc73eaa86a1a4d096b |
|
BLAKE2b-256 | 86d26bedd408f5dd5be956e0ddff098e0312d8aa31a631fa045022f27bc961a9 |