katie/util/lexgen
Ivailo Monev d5c5e3ad5a fix lexgen test build
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-01 13:02:59 +00:00
..
tests fix lexgen test build 2019-12-01 13:02:59 +00:00
CMakeLists.txt make developer utilities entirely optional 2016-10-24 16:24:30 +00:00
configfile.cpp deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
configfile.h deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
css2-simplified.lexgen initial import 2015-12-10 05:06:13 +02:00
generator.cpp deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
generator.h deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
global.h deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
lexgen.lexgen initial import 2015-12-10 05:06:13 +02:00
main.cpp deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
nfa.cpp deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
nfa.h deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
re2nfa.cpp deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
re2nfa.h deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00:00
README initial import 2015-12-10 05:06:13 +02:00
test.lexgen initial import 2015-12-10 05:06:13 +02:00
tokenizer.cpp deal with FIXME in utilities CMake file 2019-11-29 08:54:34 +00: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@nokia.com>