05fc3aef53
Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Task-number: QTBUG-67283 Change-Id: Id880c92784c40f3bbde861c0d93f58151c18b9f1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io> |
||
---|---|---|
.. | ||
tests | ||
configfile.cpp | ||
configfile.h | ||
css3-simplified.lexgen | ||
generator.cpp | ||
generator.h | ||
global.h | ||
lexgen.lexgen | ||
lexgen.pri | ||
lexgen.pro | ||
main.cpp | ||
nfa.cpp | ||
nfa.h | ||
re2nfa.cpp | ||
re2nfa.h | ||
README | ||
test.lexgen | ||
tokenizer.cpp |
Lexgen ------ This is a little tool to generate lexical scanners from a rather simplistic configuration file. We use it internally in Qt to generate the scanner for the CSS parser that is built into the toolkit (used for the widget styling and the HTML import into QTextDocument). Beware, it's very slow (in generating the code) and it may not generate what you want. But I like that it generates code that operates on QChar and friends. Use at your own risk ;-) -- Simon Hausmann <simon.hausmann@qt.io>