qt5base-lts/util/lexgen
Jason McDonald 2f2ffed775 Make lexgen tests compile
Correctly declare that the tests depend on the Qt build having testlib.

Change-Id: Icf3332bc81a10e701316f1cd7021d2f6d3c2f424
Reviewed-on: http://codereview.qt.nokia.com/158
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
2011-05-27 08:41:02 +02:00
..
tests Make lexgen tests compile 2011-05-27 08:41:02 +02:00
configfile.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
configfile.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
css2-simplified.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
generator.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
generator.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
global.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
lexgen.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
nfa.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
nfa.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
re2nfa.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
re2nfa.h Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03:00
README Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
test.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tokenizer.cpp Update licenseheader text in source files for qtbase Qt module 2011-05-24 12:34:08 +03: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>