Basic Text Transformation Library, CTTL for short, is an arrangement of C++ classes and capacities to comprehend and adjust content information. The library execution depends on STL classes and calculations.

The library gives parts to making lexical analyzers making down to earth utilization of EBNF sentence structures. Format meta-programming and administrator over-burdening offer components to compose expressions that portray EBNF sentence structure governs straightforwardly in C++. No extra strides of parsing, gathering, or source code preprocessing are required. Ordered CTTL project actualizes LL(INF)- parser, the recursive-drop parser with unbounded lookahead.

CTTL lexer creates a flood of substrings that compare to parsed tokens. Substrings can be looked at, embedded, erased, or supplanted without confinements. CTTL substrings stay stable when substance of the basic string changes. Substring limits are balanced by positional movements of embedded or erased content.

The library formalizes idea of content change as a progression of transforming operations on substrings, executed in any request. All the more particularly, content change turns out to be direct operation amid syntax assessment. Since EBNF punctuation creations are recursive by definition, content controlling projects can likewise be composed as recursive calculations.

CTTL conveyance incorporates just C++ headers and test source records. The library is header-just: the header documents contain format classes and capacities, which don't require independently arranged parallels. No establishment or other exceptional treatment is required.
 
Top