katie/util/lexgen
Ivailo Monev 5b459cf0ec update copyright and add script for doing so
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
2019-12-29 23:21:34 +00:00
..
tests update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
CMakeLists.txt make developer utilities entirely optional 2016-10-24 16:24:30 +00:00
configfile.cpp update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
configfile.h update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
css2-simplified.lexgen initial import 2015-12-10 05:06:13 +02:00
generator.cpp update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
generator.h update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
global.h update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
lexgen.lexgen initial import 2015-12-10 05:06:13 +02:00
main.cpp update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
nfa.cpp update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
nfa.h update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
re2nfa.cpp update copyright and add script for doing so 2019-12-29 23:21:34 +00:00
re2nfa.h update copyright and add script for doing so 2019-12-29 23:21: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 update copyright and add script for doing so 2019-12-29 23:21: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>