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-2.0.0.tar.gz
(98.4 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f44711f18c4261fbd404b0a0f306f8f59a92199f448beca5469749adb6da3359 |
|
MD5 | f0cd6986cac63bc256d11ff9be13a217 |
|
BLAKE2b-256 | dd89e08b642a00f13d53f7d49e48ee6e932e1f66a3535dc2144fb0f951bef993 |
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c989a56835d57d428f8483bf6d29ca4057266cd9b3b824537242045c2094f187 |
|
MD5 | 2f4b2b540f5d1edc07d00f289754f121 |
|
BLAKE2b-256 | f22f59df9b2fd104c35366b5edd02556191bc125572b6fad8c9f1042c17cc581 |
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89d92dc118656c4a99ea1afc3668ac2ae9c41330e47c3ffca3bf5412e28884e3 |
|
MD5 | a146bc7b1ef96575942e55e8c6ed124f |
|
BLAKE2b-256 | c7a90450d70c521019c06ab7c8a1c84fcec0ced64fb400946e54a05e92771da9 |
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607ec9350731350aa29cbfaf646c19650c2e08a04f0b7db07d467158121e7863 |
|
MD5 | ed97d4614a86d4be790f283ad17850ea |
|
BLAKE2b-256 | 8bd710d33444150aa37235c1f636646e4762509087932a1f47763d83b13b5017 |
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfb1a3155d6daeb87055fd57c9fb0419142cf8a39986ba49e58c8122f3d99d54 |
|
MD5 | d6751a3ceb8a98dfa21c605333bd58c1 |
|
BLAKE2b-256 | 79b9cd4a85876d3809e81a8bf1a11a6cc4cf47cbe66f8f59024d3e4514552b74 |
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451e67f55fef954fea17cc4141b5ff7ff1bd7457dbcf32052c0299ff08d206ce |
|
MD5 | 793fb76bfff1b9ef0724c136b470480f |
|
BLAKE2b-256 | 8d7a2dde13eaeebd1ba045325fc6912b56740f9958205ed2b2f822bec4d717dc |
Close
Hashes for tree_sitter_idl-2.0.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15d9948290cd065608ba57b68218b2cacd8694d82b14a1461ab60524658ad8b7 |
|
MD5 | 6e118fd7a00a488a3a26b9d4d786dda1 |
|
BLAKE2b-256 | efd0a9edab5651cb3c3f5a994ab34939991f2a95b6ce62d38e72739d97bd361c |