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;
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.3.0.tar.gz
(98.4 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ff2ebc4447cfd8c42f387767dbee2cc7a5c2ccbf7f260240943556bf05b3f3 |
|
MD5 | 359658e8d3583c613bc5cbf16fd3bd7b |
|
BLAKE2b-256 | 1d9d9c775f4ab09d884dbf0bd21c1959358b7e54a527e2bb95a05e37c69b8dcb |
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b6b19efdedbedec0bdcb8e2663a17504acd9d84cefb28ccf2f56569cb6e9851 |
|
MD5 | 4f44fbb6902bc208d71afb65d78bd17f |
|
BLAKE2b-256 | 1e17c2f03285655f7a807e91c1133a99b061fb0c3226297e0f756832619a8d37 |
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 254ee85b79bdc1d4a513b1932956f64cf1e19c5b83f2b182341cbc958f4ddfa6 |
|
MD5 | 03dc0be9ff8dbb72b4384d3307ce79a9 |
|
BLAKE2b-256 | f5de11488a9c9c862907f77d5ed7f996fc10eea7024cc12aa457ce58e13b6f96 |
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b1890d636c1caa228b84a4ac40bfe78c12907b69c3f7352f6f2a58ff1b3e754 |
|
MD5 | 043461909e0f1a042f6161a5a3698c38 |
|
BLAKE2b-256 | 79aedcd0151bf19c4821b17c39ac5c1e2444970fc87a07d3182ae2280f207acd |
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | afd2e0f89b57e6ae30a226fd25ce7a3f6cde8edca65c77afbc6aecb9061a02f7 |
|
MD5 | b8039126df2c5d4addbd0b0c170e545a |
|
BLAKE2b-256 | a56c7ba1aa3b63431d0e08894b630722b6303a144728d5f40d2825bfe9feddd7 |
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d672e104a8781174e98fdc29a4df2af8ff354e5a5d8591bbf77f17aa0eddfa5 |
|
MD5 | 936318e85346d7898a15b1cc289a9e91 |
|
BLAKE2b-256 | c781b6791f19a8e0267d87a060d95f3d238f63061a1b8694835a882522de72da |
Close
Hashes for tree_sitter_idl-2.3.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2619919cd7e0a7527a9679ac8ba31efce7ea7324990d90982cd414e96b5b59d7 |
|
MD5 | bce93e50749956bcb2904b755fe5400e |
|
BLAKE2b-256 | 583889a193667ff61011b2a7ac3c1fc48017f0123902cc587b5d0dc974db1907 |