qtbase/util/lexgen
Lucie Gérard d6a7ae6d95 Remove year from Qt Copyright in REUSE.toml
Change-Id: I2d5ec5fa766857e49dfca84838847ecdba8a6545
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
2025-07-09 15:16:21 +02:00
..
tests
README
REUSE.toml Remove year from Qt Copyright in REUSE.toml 2025-07-09 15:16:21 +02:00
configfile.cpp
configfile.h
css3-simplified.lexgen
generator.cpp lexgen: Update generated code to Qt 6 2024-12-04 23:57:12 +01:00
generator.h Fix build of lexgen tool 2024-12-04 23:57:08 +01:00
global.h
lexgen.lexgen
lexgen.pri
lexgen.pro
main.cpp Regenerate the QCssScanner implementation 2024-12-18 20:27:51 +01:00
nfa.cpp Fix build of lexgen tool 2024-12-04 23:57:08 +01:00
nfa.h Fix build of lexgen tool 2024-12-04 23:57:08 +01:00
re2nfa.cpp
re2nfa.h
test.lexgen
tokenizer.cpp

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>