qt5base-lts/util/lexgen
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00
..
tests Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
configfile.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
configfile.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
css2-simplified.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
generator.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
generator.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
global.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02: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 Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
nfa.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
nfa.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
re2nfa.cpp Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
re2nfa.h Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02: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 Initial import from the monolithic Qt. 2011-04-27 12:05:43 +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>