qt5base-lts/util/lexgen
Lars Knoll c6cdf38e75 Change qHash() to work with size_t instead of uint
This is required, so that QHash and QSet can hold more
than 2^32 items on 64 bit platforms.

The actual hashing functions for strings are still 32bit, this will
be changed in a follow-up commit.

Change-Id: I4372125252486075ff3a0b45ecfa818359fe103b
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-04-09 20:03:25 +02:00
..
tests
configfile.cpp
configfile.h
css3-simplified.lexgen Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
generator.cpp Remove usages of deprecated APIs from QtAlgorithms 2019-06-29 21:58:36 +02:00
generator.h
global.h
lexgen.lexgen
lexgen.pri
lexgen.pro
main.cpp Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
nfa.cpp Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
nfa.h
re2nfa.cpp
re2nfa.h
README Make util/lexgen/ mention itself in its auto-gen line 2018-11-01 15:07:05 +00:00
test.lexgen
tokenizer.cpp

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>