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.2.1.tar.gz
(102.7 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.2.1-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a8fa8e593f6178285e384f73c4add40bf11941ca92655f453e271b16e4c3eb5 |
|
MD5 | 2f223e70993eba557f0f3ab359940a48 |
|
BLAKE2b-256 | f57f134f6f1d55f0695d4edc3b4a9fed65facb2540decfd1669bbccd874a123a |
Close
Hashes for tree_sitter_idl-2.2.1-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9932e9abd1660619d75b79bcff2e0e7fe2291afb3e77404038ed8bf8ef130724 |
|
MD5 | 1054753a46645e702471d9157591d2d4 |
|
BLAKE2b-256 | 62fbbd5d96beee031c381998bbf1f5288c8e4d8ec89b8c00f4af3fdfa647e24a |
Close
Hashes for tree_sitter_idl-2.2.1-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d911f3c18c6a7e402d328586e121968e6909014f3f9cea94404295af166c2e84 |
|
MD5 | df66124a7235db78ce7f4c449b526d70 |
|
BLAKE2b-256 | b38a0899e4d96c386661aa647c275b2f221dc6482e6d222811449570946b28a7 |
Close
Hashes for tree_sitter_idl-2.2.1-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2778c16cce4e7cee52b56177264a483702d0b813e3561391703b415eef823213 |
|
MD5 | 2d900057d9f04e9080183eef282e4233 |
|
BLAKE2b-256 | dcbc125a8513704629ed5b86fc29a50cbd5314bb31e2c3ca40122ebd08ecd668 |
Close
Hashes for tree_sitter_idl-2.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 | 01cffa27a910a6e2e6c13825ebe438c0041a6b69bd81d16e41299a3806bf7ac8 |
|
MD5 | c8bf4fe8c212d20b5469b1c5dbbabfef |
|
BLAKE2b-256 | e17be345e746327e46a4a255bfd1e6b3e6b0240ea416f14ab95dfc4b60f0a6f6 |
Close
Hashes for tree_sitter_idl-2.2.1-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1c650e914d4c3731ffe15625ebe960dc970ef4452bcdbe57c41d797b3feafbe |
|
MD5 | 82852a2974fb03a387e4e59e9f37aab8 |
|
BLAKE2b-256 | 4d6fbe4fec0475599d28c2c56c8c0c5c2f251c45cda0168c03ebb088ecae82ab |
Close
Hashes for tree_sitter_idl-2.2.1-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a71d3d43ee01b1782b37d0ef1b009496922571281dd15856ca09399927bc0a7d |
|
MD5 | f7a817cdb0a486350603bd41cd4a07e1 |
|
BLAKE2b-256 | 1e90cced1bf82c30c2970a0e7f2ebfeba715a3914c1d672059bacb2e8fd49c27 |