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
- 7.3.1.2.1 Built-in Annotations
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
allow comma at last of enumator
enum A {
A,
// ^ allow
};
bitmask A {
@position(0) a,
// ^ 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f7c1ee8bbc328cd083bde21db09a351addee7f10371b6f7fa90a0b2dcc87bd5 |
|
MD5 | c2a70534a1fadf42d85721bc5484e47b |
|
BLAKE2b-256 | 8bd52abe3554d50cf94d721487fe8b194327937fb6c8c19b6fd61aab1d8f0886 |
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90d835dd0fa578337ded7d7c56be74667f87036810db788143c42af63bed38d0 |
|
MD5 | a7e2401f1837f551c61a984433cc8af4 |
|
BLAKE2b-256 | 481b45a6f666c9b4d55b82a25c43e9686fcd8a9005d26414ac0078a3e6aa3aed |
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2bf16dea4334f2136a39c1b5de21b9125c127b8cb85582fdcbc0b95efa9dbf4 |
|
MD5 | 36294fdfa0fdb82558c2a35637d6fc80 |
|
BLAKE2b-256 | 70cb42cc2f4f0262c269b0fb8d059e2f4e7e282e143a87cf6ac8de091d1c3a54 |
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a1549ccf2b0f9eb2740dd78b2c3ff3b977ad059b1b6fe0ef25448db04f3633c |
|
MD5 | 466e2f1d4ab3cdeeff8828a157e9e601 |
|
BLAKE2b-256 | 316cde62002f665dc60358eb9563f826ae153e18e4b4315ffe04d8dc53367dcb |
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4adc236ad5f2b413eb5e25abd13eb87ab9413b08b67ad7fefa040286b7b116 |
|
MD5 | 649c3509090c7ed733adea02db34623a |
|
BLAKE2b-256 | 556a29620f1a9c56993aab46c075ac3f5d10adeecf6880248fd492e356dcfe5e |
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3685f4b8bc513ab9bcc5e2f31df3e9b813393885b125230dc4ebe234098f9e9c |
|
MD5 | 6648e75068e574efbca1f025742572df |
|
BLAKE2b-256 | 063f420dc14275c2246d0405f35a5dc15d59105c2a4dcbe4809dec9b29eda983 |
Close
Hashes for tree_sitter_idl-3.6.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de579033e29d991adf93c668dcec9fdfa3b03b83b0f3de588289ecff04c3937b |
|
MD5 | 2a47236fae9c4259ab2f83dcd82f7b3c |
|
BLAKE2b-256 | 6eab0befd436a7f9154b2daf8d3fcfdf6dca63a04c3fc61d243659b881e73933 |