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.6.0.tar.gz
(98.9 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.6.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a641c22c553c4b35aaa5d4f3c7215ed27acd8ffe46c46107ec3399fdcf00ab4 |
|
MD5 | 01a35ea326809d776d57d1107a600606 |
|
BLAKE2b-256 | e8c3674054e9e5a32ca7741a8675a80e5a0eeee8a73d309af0c90cfd60bac43a |
Close
Hashes for tree_sitter_idl-2.6.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e7d4bfbde6bbe783321618c834958ab0f651e47c182bd1ec9e64fc342ef948c |
|
MD5 | 4360e6dc650a39a403a9ed10b99cd2f5 |
|
BLAKE2b-256 | 9205a93ca368bd8e95fa0119c549d62b880f48a0f0a9d48286ee68bea95e70c6 |
Close
Hashes for tree_sitter_idl-2.6.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7ec5b4a1265003dd157727edd3548f1831aa83c2b18f7f7f90c1e81c2d8289cf |
|
MD5 | 1df3177078dee5f5b93732110c45d767 |
|
BLAKE2b-256 | c1f7106e0ed9c15c66d45645fe592644fc38064a5d2ea1dcaad2f7523a6827f0 |
Close
Hashes for tree_sitter_idl-2.6.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c60e1853ca9beca0653a8e5500cf68bebb08b5b588d347c5579922b556ecf74 |
|
MD5 | a852f220c4612e9d583a36b5baef808b |
|
BLAKE2b-256 | 15c1a6aba31913835acd71ebaef98feb43fdb74155a605fccebd152cfe9fa617 |
Close
Hashes for tree_sitter_idl-2.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 | d44b41ebceb2d06b35d8301c69d663f9d5c1bc2da506440a698cd5dd84b18467 |
|
MD5 | b269a2ae4673cb37f950a124192ede67 |
|
BLAKE2b-256 | ca81687a1f9cf006c6782a638348a6b29cca6be3186a62204e9d7d5296ef2b88 |
Close
Hashes for tree_sitter_idl-2.6.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efb00d57a111d07258fb357fc2cace3cbc1eb9362bab0643e7cfb3ab0916f23e |
|
MD5 | 67733fead6d409b148142c2555dcb59c |
|
BLAKE2b-256 | 71d8215512d889b455bb68bb67dfb16979aa57f9516b636aeb292ece857164a5 |
Close
Hashes for tree_sitter_idl-2.6.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c2f5f73fccad9a5f00a1411d7ab44acb69e4dd0b01265d6adb415a2e462ec1e |
|
MD5 | 51afca088a2196da80a3562d148bd2e0 |
|
BLAKE2b-256 | 5df09c711f5f70a0a80fd46bb3d76722af2f6d99c50ba0a1a4b38f14c1d075d8 |