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.3.tar.gz
(72.2 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a24c212e3977f7aa8395a478cab44050e64761d0113419f9571e68d0a3d6443c |
|
MD5 | 583cefb05eaf76650630acced4480f33 |
|
BLAKE2b-256 | 63845286b6aebd4ac469aeef0ba92670cf59ae66be7dbd1d5ce1ca76e4019604 |
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e66efdf2160b5a4331dc414339265b7eb216cb28536b3e3a5827c40708df6bf |
|
MD5 | dc0434c88bea6f5ae7d873a6fec4f18c |
|
BLAKE2b-256 | 2fb31ac9958436c8d92cd4c4532af6555ee50a57db8ad674364060ac3a971e58 |
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-musllinux_1_1_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63b08fdf428ecbc1787b387efb8c534f76f7ba4a16420b27998b37fe33e5af44 |
|
MD5 | 3345fc77c9e1b8ea9bf88603e9a41893 |
|
BLAKE2b-256 | 96425b00c1496a6fbf32e3916c774e325ea6b8ab102ffd23e32aea361bfc3ff2 |
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b1beecd5fd7d9cfecf09ac1a49a1a85099b50dcd2d652bc88d76fe130fe9a8bd |
|
MD5 | f3a9efc6f7a9acb488d25f62bf081512 |
|
BLAKE2b-256 | 68f0d1e1e08eec49e2f7c5a02a523d66f1f75bd43787d0c670d16808061e1c8a |
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65902b55759e3763aede0b1933cf52fd06adca6c4d1aefbdbfbfec7b8dfa6f40 |
|
MD5 | 5e2e695c06eecadbd0d42916c7bf49ba |
|
BLAKE2b-256 | 5985eacb814bc920835dc4540100f055e3ac38cb952ed3d23e53d84704daaa7e |
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85b79bc1e6bca4b2b8377b45e6ac1c936afc30bb507f9eb90e28046dbdd68894 |
|
MD5 | 5bd6c6404b6b24b520d82b014422cee4 |
|
BLAKE2b-256 | 0a97c3e4dfba55c8d1c35dcb715ebcb2a9162595dc168f731543fee9ea224075 |
Close
Hashes for tree_sitter_idl-0.0.3-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc033a985113dec8bdc899d1b6246070749c48953bd33cf05b76186caaaa6eac |
|
MD5 | a0f425ce9ebad86ac8ffee1eae77cb10 |
|
BLAKE2b-256 | 9f346cb13e6723e9405690a2b36972c51d2e9d3a004b127c0daca8fdf6e88e81 |