qtbase-opensource-src/util/lexgen
openKylinBot e082218519 Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
..
tests Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
README Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configfile.cpp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
configfile.h Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
css3-simplified.lexgen Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
generator.cpp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
generator.h Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
global.h Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
lexgen.lexgen Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
lexgen.pri Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
lexgen.pro Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
main.cpp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
nfa.cpp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
nfa.h Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
re2nfa.cpp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
re2nfa.h Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
test.lexgen Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00
tokenizer.cpp Import Upstream version 5.15.3+dfsg 2022-05-14 17:39:13 +08:00

README

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>