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;
allow octet in typedef_spec
union A switch(octet) {};
// ^ allow
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.5.0.tar.gz
(98.6 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1738f89774e1c09ac81c387fc78f14c53c140be855d410a0623cf631791fe205 |
|
MD5 | 5d4fc49dd8ed1010b9b56b9402fa168e |
|
BLAKE2b-256 | eabb1e9ad3c82be07506f6d7f46193458a28d9d6ef097106ca43b6c9204d32da |
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8613653c3668119bf180932e212d2ccc32b96a67608283b5ad0c6fabcc0f3863 |
|
MD5 | 61ce2608326f4a00409ef4bb57f5edec |
|
BLAKE2b-256 | cf53af2f554e23cab149b84f98d6cbcf18a9ad7e210ae9db430feb11f5afcbe9 |
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9b91bbe1651bba9b9df27548e967177f72ed6429f59f87f314613395985879 |
|
MD5 | f30083e89aec2a0cea3899390763f22f |
|
BLAKE2b-256 | 16b44272e1bff341a571928754423c79bf496c4dff868e244d8e49941278690a |
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 972ab4e122ff3ec86106800fc5708a61e32a9a2f90f3dc4244b24f373f9f02d1 |
|
MD5 | 2a6f12075f02b12fc65c40acd0c3e4f5 |
|
BLAKE2b-256 | 1dc54c23f68f5b0a6c391a5312515a0e718742bb8bf6c05b8042a4ac0fe263b4 |
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67235d32bebee508551f9861c595ac0070314b0a6841bf2c664164967952b99a |
|
MD5 | bea16c74ca92c51d93cc899685d03b45 |
|
BLAKE2b-256 | 374642696c9966b790665faab5034cbad8ad5913cb68300b932764e268367176 |
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d25da12f4e2d8c571eaf01222caf6d8167f2457fb7700053b1c58e85bbfc47c9 |
|
MD5 | 1517cf7f78b1a846c398eda15ed87576 |
|
BLAKE2b-256 | 75c68d2cd9ec73665521d93964f5d2781ce26ddebcece607d94ff849dda603f1 |
Close
Hashes for tree_sitter_idl-2.5.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd5ffad5cc66caf2215b3e899cdee25a08fc95fc77122e06818ad73354bb7e8 |
|
MD5 | 79a21a27736ba33e96d6c422e16b2cde |
|
BLAKE2b-256 | e56ee6795407a72321dfb8eaf009af3d7b63d1b90a8784fa0de786eca13d968d |