qt5base-lts/util/lexgen
Lucie Gérard 05fc3aef53 Use SPDX license identifiers
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>
2022-05-16 16:37:38 +02:00
..
tests Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
configfile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
configfile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
css3-simplified.lexgen Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
generator.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
generator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
lexgen.lexgen
lexgen.pri
lexgen.pro
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
nfa.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
nfa.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
re2nfa.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
re2nfa.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
README Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
test.lexgen
tokenizer.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00

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>