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
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
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.5.tar.gz
(72.9 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3f6dd0c85a3e2fa394418c16d3bed0d50c115763ed17002587cf4db76047296 |
|
MD5 | 44df1b1fc26fd5201b86fe0a04d6845a |
|
BLAKE2b-256 | 8c0762c6023ee711681d681dc703ea1c5a36f848687b05a9b23ba2c80d00d3e1 |
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec35eebc16e21209860caa3e98893cb22a3952e8cb37383b2f4ccb9c05d6e6c3 |
|
MD5 | a5fb9b28a67bd9a741f6c9df70986299 |
|
BLAKE2b-256 | 54af298738fc2c3cb541effb107566ee09e2acf6a98f3f9d3a17d120acc1a157 |
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a5ea985eba7ce15534920921b85c6868a988defe30f3fe77885615911ab048 |
|
MD5 | 56c085e2d55ec075d13cf3e9ba7699d9 |
|
BLAKE2b-256 | f018a4a205aa9ca0f03f350aa8622461705bd04f7603efa056b3e9b5764a30db |
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e50f779e9ffcfecb9f36c7f51431e7836db60a48b3a1823cb65c8d33296c33aa |
|
MD5 | af820aad1c9cad64defba59bd7bb6c4a |
|
BLAKE2b-256 | f732082cc110769a0fc90a05019718c973ac46ee608e6b9489231e2d64bd87d0 |
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba2a0a054d6f637de46d56aace5f88f9d28038e0494b18a63f6b0f7415e07f35 |
|
MD5 | 7f93ac25a5a18115b87cc2c926460533 |
|
BLAKE2b-256 | 19ae00744d1c871f28ce3044a638cacee4e51f7f8c819ef5802ddcfd23385f43 |
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 902b32493eb3326308fe9ddbb447b7dde74394fe3adf25528b572c84fda884c8 |
|
MD5 | 0125ff13ee282186774482043ceb9a53 |
|
BLAKE2b-256 | 57543957a086730ff671ca63a2ce088d9b265f6a7802963dcd17e9878d359ddc |
Close
Hashes for tree_sitter_idl-0.0.5-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2004c6a473c0e498f84e8b7508e9d5bdd66f730fbfaf3591ac44f300fc92f356 |
|
MD5 | 4f1234d566d894a4450f5346aebd4bf4 |
|
BLAKE2b-256 | 0ca9e8bf33b56b8cf04db6ff94132c87074ff10b51c71c79bdab851770600c92 |