qt5base-lts/util/lexgen
Edward Welbourne eafad93c3d Make util/lexgen/ mention itself in its auto-gen line
In the process, update the README's e-mail address for Simon and
mention all recognized command-line options in the usage message.  The
generated CSS scanner was also out of sync with our source, so update
it.  Also fixed handling of FileHeader to cope with running from a
shadow build by handling paths relative to __FILE__; and revised the
CSS3 config to use the same copyright header as was already in use by
the existing generated file.

Change-Id: I918ff84dbdc95d0478fd6aa4ea74e9a221d1a476
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2018-11-01 15:07:05 +00:00
..
tests Updated license headers 2016-01-21 18:55:18 +00:00
configfile.cpp Updated license headers 2016-01-21 18:55:18 +00:00
configfile.h Fix compilation on qt css lexer generator 2016-07-19 18:40:53 +00:00
css3-simplified.lexgen Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
generator.cpp Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
generator.h Updated license headers 2016-01-21 18:55:18 +00:00
global.h Updated license headers 2016-01-21 18:55:18 +00: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 Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
nfa.cpp Updated license headers 2016-01-21 18:55:18 +00:00
nfa.h Updated license headers 2016-01-21 18:55:18 +00:00
re2nfa.cpp Updated license headers 2016-01-21 18:55:18 +00:00
re2nfa.h Updated license headers 2016-01-21 18:55:18 +00:00
README Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
test.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tokenizer.cpp Updated license headers 2016-01-21 18:55:18 +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@qt.io>