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(partial)
DDS-XTypes:
- 7.3.1.2.3 Alternative Annotation Syntax (by idl_annotation)
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-0.0.11.tar.gz
(77.3 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff4deb12ba88e6a74b9e6c2440e63fb1f383a215870d3d88b9681d2a4c53cbc9 |
|
MD5 | c1817ba938ab231b49000638bcf7232b |
|
BLAKE2b-256 | 2f25eb463c588a4eca31116b02d47577634da25e2f3864b5be0d1c186493972b |
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75f907b8c86edccb8491cb139aeb4e7fa0ef3129aef7cb4549a0806070297c24 |
|
MD5 | bbb94e823933be28e33734107732ba19 |
|
BLAKE2b-256 | 3c9c4d37a197ae51833a2b5db1ceef79f3d31fb74df1b0746ccc4c64b7313b90 |
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e431404227fb63d4cc62778cf2d5f72dafc60a7b9d162a48f96cdbe304bda67 |
|
MD5 | d3f5e5d5a0eaedccd09200fd7342f999 |
|
BLAKE2b-256 | 136170ded962eba02b66ee40c745b17fdb13d00272bc0d1dc77cdbed83c4f41b |
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51932abf6d67892bd3e8e577103d44e8cbf0db1357db0079aca87758cf721f5f |
|
MD5 | 9b3b7658a31df8a6fe2f040496ecf18d |
|
BLAKE2b-256 | acc693d4ebf41ad36395a7e544ecb206581ff54fa5e6e87950ec7b65a82381b6 |
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae5fee50e2ad14c520d74cb40e95989231204a985a56850bb7905fc7379f06b8 |
|
MD5 | 61dddecaa17f0baed0aefad00a36aa5b |
|
BLAKE2b-256 | 85676f0bc34cc18fdfa3c0086d7219276a2633b774b4de50091d7bfb8d63b01a |
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 24377d07a682e02d7800194a6e0705584c353f8b06259cbdd8111b3de48b9a42 |
|
MD5 | be56f1ab1a39a7b414e67c1deb3982cb |
|
BLAKE2b-256 | fa221bc37599abfcf7cf52da79793e598024039db50dff05cc7c17cbec407bcf |
Close
Hashes for tree_sitter_idl-0.0.11-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65db6e5d1f59664534db04d1478886510fd2d85d46440b3af76542bd7ff08518 |
|
MD5 | 876c7d126833b7c9aeff7f999499bfd6 |
|
BLAKE2b-256 | 675ad28c1f77ebd4f287ba8852ee679b4656b2c5cfc23225e7ed9ceba7a9b38a |