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);
};
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-1.2.1.tar.gz
(97.3 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 17d1c7f43b1a7cd94acd49875be8f98e130627792b2f34e18b3f332901b47ec0 |
|
MD5 | 8c968f0dd90c7f4ef7b88247ddc4d7b3 |
|
BLAKE2b-256 | 6ec492029c4f18b05ce933ff03f70cfd38f4df731875e35512d07f555f4628e1 |
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e786bbb891f19384b03193da302add687d8d6bf3d7c4b95c9453e0b4d985278f |
|
MD5 | 65c3d13b026d4f0187483171cd4475cd |
|
BLAKE2b-256 | f2f59e333a369f71443625ac2de5193444d5ec1c71212599ad8c18cb3145be10 |
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc727d4059f0113631c4883f917de717e1e25fc5a512804d18ec5db424ad7a81 |
|
MD5 | 54f7ddf8556cd739dbf8b017590bb311 |
|
BLAKE2b-256 | 76b951c55a13f0d7ad48caabdd0cee8bac50220e6d46c406842fe1878c3ec435 |
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 566a6917e1a99134e072df20fdbfca132ed381e46e33ff67048ac9acffffaabf |
|
MD5 | f61500294b3daaf49a0ce06d4cdc3208 |
|
BLAKE2b-256 | df679fab240d89902b71a7d6c469f8c7e573036fa7879c9905e05c225ea44bcb |
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a3262cd11d00682cbd36ac5fd08fdc8c66460ede77adf10095bd96d0a6e4390 |
|
MD5 | b184dcf86f8ea8ca2edd83568d6db3a4 |
|
BLAKE2b-256 | 7650ce9d30730e2a382037e500032ecb68af5226b27e93635da9597c495b859a |
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f94905afb098036a61eb1aa17c5f2a144273e6ab22c5a1f3e281685d88cc214 |
|
MD5 | ca572c29378d82fb29e239bcecf03086 |
|
BLAKE2b-256 | 42b233aed8899dac07335c5c940ca10331b84f84184678e79a34dd87c4a08994 |
Close
Hashes for tree_sitter_idl-1.2.1-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b7dfa40da11264f5a5eb37c81f034bcdbf67ad37053cac05513bcaa882ede7 |
|
MD5 | ca9d4adfe799afb444f69d596767d948 |
|
BLAKE2b-256 | fc47a97a142092d470eb541f05617d5b10a03a74da9a113445f58055764e8087 |