VCL-библиотека для создания анализаторов и парсеров исходных кодов.
Source Code Scanners 4.0 is the high performance library of visual components for C++ Builder and Delphi intended for creating analyzers and parsers of source codes.
It includes components of the C++ lexical analyzer, the Object Pascal (Delphi) lexical analizer, the PHP lexical analyzer, the HTML lexical analyzer, the CSS1 lexical analyzer and the C++ preprocessor, but also contains the full set of base classes, which provides a possibility to create lexers and parsers of any other languages.
The lexical analyzers uses DFAs (Deterministic Finite Automata) to match tokens found on the character input stream. DFAs are defined by the set of regular expressions in a source code and are created at runtime. More than one automaton (lexical class, lexical tree) may be defined. Actions attached to regular expressions (which are executed when that expression has been matched on the input stream) may switch from one lexical class to another. The TLexTree class maintains converting a set of regular expressions into the DFA array.
Source Code Scanners 4.0 provides also classes, which support a work with command-line options, calculating of constant expressions and etc.
Source Code Scanners 4.0 introduces the following new features and enhancements.
1. New components are added:
2. Old components are fully rewritten. All lexers are made more universal. Lexers return all input characters in a text of tokens. This allows to use these components to highlight source codes.
3. Deep performance tuning has allowed dramatically to increase initialization speed of the lexical trees and speed of the lexical analyze.
4. The code of core classes was changed. These changes allow:
5. The part of the Source Code Scanners 4.0 source is now included in the Standard edition and the Trial edition of library.
Source Code Scanners 4.0 adds to Your palette a new Scanners tab that contains the following components:
![]() |
TCppLexer is the component of the lexical analyzer of the C++ source codes; |
![]() |
TPasLexer is the component of the lexical analyzer of the Object Pascal (Delphi) source codes; |
![]() |
TPhpLexer is the component of the lexical analyzer of the PHP source codes; |
![]() |
THtmlLexer is the component of the lexical analyzer of the HTML source codes; |
![]() |
TCss1Lexer is the component of the lexical analyzer of the CSS1 source codes; |
![]() |
TCppPreprocessor is the component of the preprocessor of the C++ source codes; |
![]() |
TDirectopryListDialog is the component, which displays a modal dialog of editing the directory list; |
![]() |
TScanningProgress is the component, which displays a form of the scanning progress. |
·
Source Code Scanners
(SCS) 4.0 C++
·
Source Code Scanners
(SCS) 4.0 D6
|
Программирование для чайников.
|