katie/util/lexgen
Ivailo Monev da53e9a455 adjust and port utils to cmake build system
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
2015-12-18 18:37:01 +02:00
..
tests initial import 2015-12-10 05:06:13 +02:00
CMakeLists.txt adjust and port utils to cmake build system 2015-12-18 18:37:01 +02:00
configfile.cpp initial import 2015-12-10 05:06:13 +02:00
configfile.h initial import 2015-12-10 05:06:13 +02:00
css2-simplified.lexgen initial import 2015-12-10 05:06:13 +02:00
generator.cpp initial import 2015-12-10 05:06:13 +02:00
generator.h initial import 2015-12-10 05:06:13 +02:00
global.h initial import 2015-12-10 05:06:13 +02:00
lexgen.lexgen initial import 2015-12-10 05:06:13 +02:00
main.cpp initial import 2015-12-10 05:06:13 +02:00
nfa.cpp initial import 2015-12-10 05:06:13 +02:00
nfa.h initial import 2015-12-10 05:06:13 +02:00
re2nfa.cpp initial import 2015-12-10 05:06:13 +02:00
re2nfa.h initial import 2015-12-10 05:06:13 +02: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 initial import 2015-12-10 05:06:13 +02: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>