qt6-bb10/util/lexgen
Lucie Gérard 27ae8dbab4 Add REUSE.toml files
Those files are read by reuse to complement or override the copyright
and licensing information found in file.

The use of REUSE.toml files was introduced in REUSE version 3.1.0a1.
This reuse version is compatible with reuse specification
version 3.2 [1].
With this commit's files,
* The SPDX document generated by reuse spdx conforms to SPDX 2.3,
* The reuse lint command reports that the Qt project is reuse compliant.

[1]: https://reuse.software/spec-3.2/

Task-number: QTBUG-124453
Task-number: QTBUG-125211
Change-Id: I01023e862607777a5e710669ccd28bbf56091097
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 4c83657448f66ac0ee46900aff2e5a230eda49b0)
2024-11-07 08:38:49 +01:00
..
tests Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
README
REUSE.toml Add REUSE.toml files 2024-11-07 08:38:49 +01:00
configfile.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
configfile.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
css3-simplified.lexgen
generator.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
generator.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
global.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
lexgen.lexgen
lexgen.pri
lexgen.pro
main.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
nfa.cpp Remove extra semi-colons 2024-02-06 20:17:18 +09:00
nfa.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
re2nfa.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
re2nfa.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
test.lexgen
tokenizer.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00

README

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>