qt5base-lts/util/lexgen
Sergio Ahumada 33a8455042 More changes from Nokia to Digia
Change-Id: I8f2edd238e64c01d3ccb7c012b389d61435d7135
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
2012-11-30 00:50:47 +01:00
..
tests
configfile.cpp
configfile.h
css2-simplified.lexgen
generator.cpp More changes from Nokia to Digia 2012-11-30 00:50:47 +01:00
generator.h More changes from Nokia to Digia 2012-11-30 00:50:47 +01:00
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@nokia.com>