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);
};
allow rust style oct number
const u8 A = 0o3;
allow binary number
const u8 A = 0b010101;
allow octet in typedef_spec
union A switch(octet) {};
// ^ allow
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.4.0.tar.gz
(98.6 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75801f44f74cb614eff6a35ab3cdd68674c4c42b39f21e8fd68cd046c5e4e179 |
|
MD5 | 3caafcf4d21f52fe9d3363d7d3e0c19d |
|
BLAKE2b-256 | c60944bb74a7c0ee7617d9f83cc789b6a212bfc667bf86b6e9d3061d485d1a0b |
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5a9af625e77d59698bd5366e1e2897d9673442eee8516ffe7a32744fe8c4f79 |
|
MD5 | 5dc462380a9018f8334b411ccffdae4d |
|
BLAKE2b-256 | f1766f0328f2a4ecb215a9609185e30027293e1c9df1114d83ea250373d01697 |
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffeefef9e71e3ca3b0938f082b2f642f40a07e299dce3741c867df37df6869d7 |
|
MD5 | e6f5cdf501d15ba62445f18b497ed78f |
|
BLAKE2b-256 | 75e75edf89d6da11f69e465479486e8520c7b162f87faa935a3c240d057dd8fa |
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f86347a94440381436cc7ec9d5c0bdbcf33d6353f2203b15ce90f678bb4ad93e |
|
MD5 | 650403916949474646cb16585c2b4f09 |
|
BLAKE2b-256 | 05a528647b1b42a66365158a13e3fe2342a8659b3cced1035f25425aea45a727 |
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0595458019c3665da087fd682861804f9a31be4babedbc48acd1652769382911 |
|
MD5 | a3782bcfd9515e7bf0ba905baf320047 |
|
BLAKE2b-256 | 54e1119c63b3de9c9b19510584b9741306abf679f93a62bebb7e526471505b55 |
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 551b34bfe0113ea3f06dc33808d28d3b306c1f9c7b3ff4bf29f2cd3c38e2361a |
|
MD5 | c52b377da1d172b72f149caa7d41c3e5 |
|
BLAKE2b-256 | 7f7d527ef0407c5c14b142605cd1cb19393fca0767073f983ecc4525af01c9c9 |
Close
Hashes for tree_sitter_idl-2.4.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80a82b7301e3f79c2fbb2ac73a893b269c515512411cde14a8a8b7735d9fa3a7 |
|
MD5 | 22760c2f7fc2f9e8251c29e3431f22cc |
|
BLAKE2b-256 | 78b66c67a04e902cbf7d6e7defcc60d270bce3270a8e4bc0782e6e7e8f9fbc09 |