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;
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.1.0.tar.gz
(98.3 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 697dd4715be09bcc57548bd7c5e35f33363da46ff8c3b69878de7d07cea4ab2e |
|
MD5 | f5db5e90c62d7e6943f08ca38e9a2b0e |
|
BLAKE2b-256 | 9253b67138ce8f7545c144ed9f66e66fe7abb467cec0c3f0450487ce08ade9c8 |
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92887038f06c09295833e81ab240b616d532b11d8e6095f5bbe11c161f9b429 |
|
MD5 | 67c03d7920f4fcba838fc1c88b7a7e4b |
|
BLAKE2b-256 | 4e463be55ec3045e01c62fcab80a94284d6da5be92e0a2119ca34ed6472b243e |
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46a35726c87e0287c533b2bb186eef5eb1c66fb4894a00d6659db46f1d6082b2 |
|
MD5 | 5c9b29c0223907d476eeec3bf8524501 |
|
BLAKE2b-256 | 6274c7beda9e644383796e957ca7dacc162fbdc9b8ba570c9e2f8b6750e41982 |
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b2718e6db7ebb3e748898d5df8d475b157d83a8145fa370c91212d11f0463f2 |
|
MD5 | b2e4514a50fe04a2e914694da8b45f3f |
|
BLAKE2b-256 | 2475bb7428e0e01ccc0352f8fa27cfa3264e67402af653dcb92df51e34c9d925 |
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a562f4f683615e128c145e575c610bdf6cbe177e1dd9d39afdce08db8c53d38 |
|
MD5 | 5a99051b7d6ce04f1b7874caf3a686d7 |
|
BLAKE2b-256 | ab7cd2db73b88c47265737a152e367aedefa95581767e25f14386eb2be81a8d0 |
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e99529f2e956feb351cb675353476b28880503654654478d39c7000bd23cdf18 |
|
MD5 | 8edd8461a2c53968b94f5fcd67ca27b3 |
|
BLAKE2b-256 | 976cf97db28eb4c82258392d4d3b6d9de17f9fc7a2ef7420525fbe2e866f2cc9 |
Close
Hashes for tree_sitter_idl-2.1.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c1240e9b7933a5433531a0347dc8876cccb986285ada35f452cff3b70cb2018 |
|
MD5 | 2bb130b8a132e55d3b0035117b2f58ee |
|
BLAKE2b-256 | 62107f4c91dc587296b94e0dbfdda51d4907eb3641c13c73d6b30c126f8613a2 |