• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..07-Dec-2021-

tests/H07-Dec-2021-389271

READMEH A D07-Dec-2021508 1611

configfile.cppH A D07-Dec-20212.9 KiB8750

configfile.hH A D07-Dec-20212.2 KiB7037

css3-simplified.lexgenH A D07-Dec-20211.8 KiB9880

generator.cppH A D07-Dec-202115.6 KiB523393

generator.hH A D07-Dec-20215.8 KiB209145

global.hH A D07-Dec-20212.6 KiB10155

lexgen.lexgenH A D07-Dec-2021402 2521

lexgen.priH A D07-Dec-202181 43

lexgen.proH A D07-Dec-2021101 76

main.cppH A D07-Dec-202110 KiB311244

nfa.cppH A D07-Dec-202115.6 KiB492348

nfa.hH A D07-Dec-20213.3 KiB11564

re2nfa.cppH A D07-Dec-202114.9 KiB535433

re2nfa.hH A D07-Dec-20212.9 KiB10462

test.lexgenH A D07-Dec-2021100 107

tokenizer.cppH A D07-Dec-20216.2 KiB225187

README

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