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
- 7.3.1.2.1 Built-in Annotations
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-3.0.0.tar.gz
(108.5 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a57e104fd0b3fa29e7003115a2b57c54972a4ff8d440b4a77e38e88da10f5c98 |
|
MD5 | 214dd751619eb7c2842c3fd133835611 |
|
BLAKE2b-256 | fd275674de6029c2678d4c48720370bed0d574dbf637709ea6db3994a3d25dd3 |
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37b7cf415de6cb8a05b9dc4130e0bb5baf412504537558708f69c4c359e5ebd2 |
|
MD5 | 54ac6958251e081ccd689f9815dee58b |
|
BLAKE2b-256 | 8db727f19c676732595c61f6eac39172bd6721cd315e54f01b1dcbfe93023dfb |
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fbd1eea5937ed7d0e427fccf60b57c077f2191d49bc84af54c3a0e1621ec928 |
|
MD5 | 3150d890f12aacecc2ef27b2d83549eb |
|
BLAKE2b-256 | 5a1c303bac08c256299a23d7e9c1eef228a63fcd6c4723a3217e81129cef943f |
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce2cedc26eab331fc7de8d1b40df7fe661c31920b3fb6ab4eafc94e4e906417c |
|
MD5 | 6d8157d27a70711ddfff244706596635 |
|
BLAKE2b-256 | f8cd49aa29aed27e059707f255004e4faa462c2227d52582db0ba21b1d736884 |
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c006d40e6bf1dcc80903a47c87966d288fe75543e60ecd5a31c7fe4ebaa31e53 |
|
MD5 | a3ca8e41036a526a656d1ace3b18ae1b |
|
BLAKE2b-256 | aa1de082c40eb8172414b57172c6faa483804eb43be1e8600a4433243290ad37 |
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b45ce3f2c2f51d87ab6e0847ee7a57411adc76cceac0a80b3ac67756081a2dd |
|
MD5 | 84472afb675b0891c6ced025e7fc3b0b |
|
BLAKE2b-256 | 58c0801610621af7aa2dbfe920605817b83d3e08722a137ffba13b5b4c60727f |
Close
Hashes for tree_sitter_idl-3.0.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf999d48a3013805410f094252e3d03dee85d7f8dca4e7aa8ab0c177e9fe9352 |
|
MD5 | db4702552bc79985c3c005eb7c5fe6c3 |
|
BLAKE2b-256 | 759d3b47c49ff5fdadac2183a4c403d72603e0dbc6a6bba65fc1c550dcc241b4 |