zerodds-idl-parse 1.0.0-rc.7

Hand-written recursive-descent parser for OMG IDL 4.2, building a lossless CST with error recovery.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# `zerodds-idl-parse`

OMG IDL 4.2 in, a lossless tree and a diagnostic list out.

The lexer, the preprocessor — `#include`, conditionals, macro expansion,
`#pragma once` — and a recovering parser that produces a tree for a file
it could not read, so a later stage can still point at what was there.

A diagnostic names its clause. `IDL0007` is not a number this project
chose to mean something; it carries the section of the specification
that refuses the construct, and the tests assert the clause, not the
number.

Safety classification is **STANDARD**, not SAFE, and that is the
architecture's own line: `docs/architecture/04_safety_by_architecture.md`
§2 puts the `zerodds-idl*` tools outside the safe subset. They run at
build time and never in a participant.