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
Project details
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.8.tar.gz
(77.0 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14a68045c576b43d0ac877952f13defee2a376e7d7382f79e9b7f33d97518028 |
|
MD5 | 9ab8562a4067a88841d20fec54facc3c |
|
BLAKE2b-256 | 21416c8e926babaaaa89e21a872dc70d93d9fa81698cf7e68960af1d3b8a3e4b |
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea192044a61812dd8a9a503c24c8004b7f83a94821893a25f0c47957ffd91f18 |
|
MD5 | dab78c1ec36c5b5dc7495eb345589a56 |
|
BLAKE2b-256 | 94afeddac77b0e3269c4e5620328c10bd7144449f594b52cf5a0ba817968bf6d |
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25d5d9aeb823f98687bc53adbbf96977932fea88d27211f12c0a7e778f1733f9 |
|
MD5 | d0ca38843db69df0b56209068f157dd0 |
|
BLAKE2b-256 | d69f0ca0a7cfaede3a6f5751e14220d7f62e393805bb643e07a5596ddd7ae4b5 |
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8d5e26e578d5a834d2e636bbbca2d828abc9d3ce457bd9536d9dd2bca490f17 |
|
MD5 | b06835633e6d8b1c3d9e3582889fa0dd |
|
BLAKE2b-256 | ba7aecc305e857d31745fcd4de3071256807f1067d0027045f420f33e5af4bbb |
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8160774210511ec5852ec2d0f8d748de469885843d13afef8f2360b85e232c99 |
|
MD5 | fb990624e9ebc445df486e48600fccbc |
|
BLAKE2b-256 | fa9205af60669be044dc0dbf990dd523b980d282abf2f400930f044bc46e9373 |
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 034e0353a4893f3d42df4bd3b85652e56e0f351de50a0e846ff1faf0ba62f717 |
|
MD5 | cd8beacfe7419a7df5bcee2592929f06 |
|
BLAKE2b-256 | 100aa22a053bd0828aeb149610d3bf28034ae6c19ccfafa8d079e0d93f3417c1 |
Close
Hashes for tree_sitter_idl-0.0.8-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43261a12da67857f0dbb876ac7e13d41d11d2d22e8e4ee221b74c9f16094ee08 |
|
MD5 | e799d795a8612bcde145e0746b6c2275 |
|
BLAKE2b-256 | 398d952ac07614cf703c12a4d550f44be63ab8586e6d8c39524e9266c1afcc46 |