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);
};
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-1.2.0.tar.gz
(97.5 kB
view hashes)
Built Distributions
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3cc8a66fd01b091d77c8886942373ea6107425f65a0e90bbb10bc2981d120465 |
|
MD5 | b96553fc97ddbf2c3b3d44bf0a34f616 |
|
BLAKE2b-256 | 95885b85b1838adf6b2819bc69b16f75e5e6b18eddc48b5eda18066639647e94 |
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-musllinux_1_2_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3bf9f91a1601e2a36b5eb23de47b3c0a7d9c8e59ba119130da54b9be7aa4419c |
|
MD5 | 1025aea7bb8c2b0c231f2ec7d8d02b76 |
|
BLAKE2b-256 | e3aea51f3060afeec921c5c59410a57d97a1dfb0937b0764475979ef26fa83ec |
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-musllinux_1_2_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 296fbb122730da51c9ffc139e10b2ba233842b2be60e860bbd11bcd557184b96 |
|
MD5 | 8a78ce71f6e84e8e737cb5edf15743f0 |
|
BLAKE2b-256 | 537f2109c3bed76297036a62124a2095f73f7e660112e7732ce711017fa0d597 |
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eea42887970f13c53d196454032966f22d590f1605cbc0588378f859c395776 |
|
MD5 | 8af92cc4669f7856eb8a3b2577a9d54e |
|
BLAKE2b-256 | 27970e534d24903bf4b1243985c82f64d3bab9ef3928c153155ddc743527f49c |
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a19989f10d3024f9f28116dfad8b903f1dce0f2f2f5c1180c91e7adcde69fbbc |
|
MD5 | 42d66275c489c8c83e06949f4a9056bd |
|
BLAKE2b-256 | 48746e97dc4c54c68368dc17986602f573519f6f49c4bd762f4c5af469dadb17 |
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df1892a27f4bec122c1e2dbd25f96d80f6e04d117573989eb4f3a2b6490ae0ab |
|
MD5 | 89612c5f7317ee447d5243361dad1070 |
|
BLAKE2b-256 | ec4d3c32b4a011d4bc456541cd717f655a248ab694f273ce33fbe0aa320c6cb6 |
Close
Hashes for tree_sitter_idl-1.2.0-cp38-abi3-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 792d3dd8835f75e0785c5dc5d267a670300cd3e462b67d5bea49c0f2d3c9b776 |
|
MD5 | 7dd8bf5986918c8c9403524c94b84da6 |
|
BLAKE2b-256 | b1f3d300ff3348059ee8c403b5ebe1e794bec3a6c1fc548ff242482e7d64676a |