1PSL(1) User Commands PSL(1)
2
3
4
6 psl-make-dafsa - generate a compact and optimized DAFSA from a Public
7 Suffix List
8
10 psl-make-dafsa [options] infile outfile
11
13 psl-make-dafsa produces C/C++ code or an architecture-independent
14 binary object that represents a Deterministic Acyclic Finite State Au‐
15 tomaton (DAFSA) from a textual representation of a Public Suffix List.
16 Input and output files must be specified on the command line.
17
18 This compact representation enables optimized queries of the list, sav‐
19 ing both time and space when compared to searches of human-readable
20 representations.
21
23 The format of the data read and written by psl-make-dafsa depends on
24 options passed to it.
25
26 --output-format=[cxx|cxx+|binary]
27 cxx: (default) output is C/C++ code
28 cxx+: output is C/C++ code plus statistical assignments (used by
29 libpsl build process)
30 binary: output is an architecture-independent binary format
31
32 --encoding=[utf-8|ascii]
33 utf-8: (default) UTF-8 mode (output contains UTF-8 + punycode)
34 ascii: (deprecated) 7-bit ASCII mode (output contains punycode
35 only)
36
38 https://publicsuffix.org/, https://github.com/rockdaboot/libpsl
39
41 psl-make-dafsa was was written by Olle Liljenzin as part of the
42 Chromium project and has been modified by Tim Ruehsen and Daniel Kahn
43 Gillmor. The code and its documentation is governed by a BSD-style
44 license.
45
46
47
48psl 0.13.0 July 2016 PSL(1)