katie/util/lexgen
Ivailo Monev 2d67399cac fix build of lexgen utility
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2017-05-09 03:42:07 +00:00
..
tests initial import 2015-12-10 05:06:13 +02:00
CMakeLists.txt make developer utilities entirely optional 2016-10-24 16:24:30 +00: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 fix build of some utils with ASCII casts disabled 2017-05-08 11:17:25 +00:00
nfa.cpp fix build of lexgen utility 2017-05-09 03:42:07 +00: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>