0
|
1 |
Lexgen
|
|
2 |
------
|
|
3 |
|
|
4 |
This is a little tool to generate lexical scanners from a rather simplistic
|
|
5 |
configuration file. We use it internally in Qt to generate the scanner for the
|
|
6 |
CSS parser that is built into the toolkit (used for the widget styling and the
|
|
7 |
HTML import into QTextDocument).
|
|
8 |
|
|
9 |
Beware, it's very slow (in generating the code) and it may not generate what
|
|
10 |
you want. But I like that it generates code that operates on QChar and friends.
|
|
11 |
|
|
12 |
Use at your own risk ;-)
|
|
13 |
|
|
14 |
|
|
15 |
--
|
|
16 |
Simon Hausmann <simon.hausmann@nokia.com>
|