qt6windows7/util/lexgen
2023-10-29 23:33:08 +01:00
..
tests qt 6.5.1 original 2023-10-29 23:33:08 +01:00
configfile.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
configfile.h qt 6.5.1 original 2023-10-29 23:33:08 +01:00
css3-simplified.lexgen qt 6.5.1 original 2023-10-29 23:33:08 +01:00
generator.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
generator.h qt 6.5.1 original 2023-10-29 23:33:08 +01:00
global.h qt 6.5.1 original 2023-10-29 23:33:08 +01:00
lexgen.lexgen qt 6.5.1 original 2023-10-29 23:33:08 +01:00
lexgen.pri qt 6.5.1 original 2023-10-29 23:33:08 +01:00
lexgen.pro qt 6.5.1 original 2023-10-29 23:33:08 +01:00
main.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
nfa.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
nfa.h qt 6.5.1 original 2023-10-29 23:33:08 +01:00
re2nfa.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01:00
re2nfa.h qt 6.5.1 original 2023-10-29 23:33:08 +01:00
README qt 6.5.1 original 2023-10-29 23:33:08 +01:00
test.lexgen qt 6.5.1 original 2023-10-29 23:33:08 +01:00
tokenizer.cpp qt 6.5.1 original 2023-10-29 23:33:08 +01: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>