PSL(1)
π PSL-MAKE-DAFSA π
okay bestie, so this page is all about psl-make-dafsa from the User Commands corner of the manual (manual name: PSL, section 1, iykyk) β and no cap, it's a little build-tool baddie β¨
π¦ NAME π¦
psl-make-dafsa β generate a compact and optimized DAFSA from a Public Suffix List π
πΈ SYNOPSIS πΈ
psl-make-dafsa [options] infile outfile
β¨ DESCRIPTION β¨
So here's the vibe: psl-make-dafsa produces C/C++ code or an architecture-independent binary object that represents a Deterministic Acyclic Finite State Automaton (DAFSA) π β and it builds that from a textual representation of a Public Suffix List.
Input and output files must be specified on the command line. Like, both of them. No skipping, bestie π«Ά
This compact representation is the whole point, fr fr: it enables optimized queries of the list, saving both time and space when compared to searches of human-readable representations. it's giving efficiency, it's giving glow-up for your data structure π
π OPTIONS π
The format of the data read and written by psl-make-dafsa depends on the options you pass to it. choose your own adventure, babe π¦
--output-format=[cxx|cxx+|binary]β picks what comes out the other side:cxx: (default) output is C/C++ code πcxx+: output is C/C++ code plus statistical assignments (this one is used by thelibpslbuild process, slay)binary: output is an architecture-independent binary format π§
--encoding=[utf-8|ascii]β picks how the text is encoded:utf-8: (default) UTF-8 mode (output contains UTF-8 + punycode) β¨ascii: (deprecated) 7-bit ASCII mode (output contains punycode only)
β οΈ heads up bestie:asciiis deprecated. like, it still works, but the vibes are off. considerutf-8, the main character option π
π₯ SEE ALSO π₯
π COPYRIGHT π
psl-make-dafsa was written by Olle Liljenzin as part of the Chromium project, and has been modified by Tim Ruehsen and Daniel Kahn Gillmor. The code and its documentation is governed by a BSD-style license π«Ά
and that's the whole page, babe β written by legends, licensed the chill way, and optimized to the moon π
version psl 0.13.0, dated July 2016, page PSL(1) β a classic, an icon, a moment. periodt π β¨
π¦ where this page comes from
- alpine 3.22: libpsl-doc 0.21.5-r3 Β· MIT
- alpine 3.23: libpsl-doc 0.21.5-r3 Β· MIT
- alpine 3.24: libpsl-doc 0.21.5-r3 Β· MIT
- arch rolling: libpsl 0.21.5-2 Β· MIT
- debian bookworm: psl-make-dafsa 0.21.2-1 Β· MIT
- debian trixie: psl-make-dafsa 0.21.2-1.1 Β· MIT
- fedora 43: psl-make-dafsa 0.21.5-6.fc43 Β· MIT
- fedora 44: psl-make-dafsa 0.21.5-7.fc44 Β· MIT
- nixos 26.05: libpsl-with-scripts 0.21.5
- nixpkgs unstable: libpsl-with-scripts 0.21.5
- opensuse-leap 16.0: psl-make-dafsa 0.21.5-160000.3.2 Β· BSD-3-Clause
- ubuntu jammy: psl-make-dafsa 0.21.0-1.2build2 Β· MIT
- ubuntu noble: psl-make-dafsa 0.21.2-1.1build1 Β· MIT
- ubuntu questing: psl-make-dafsa 0.21.2-1.1build1
- ubuntu resolute: psl-make-dafsa 0.21.2-1.1build2 Β· MIT
- ubuntu stonking: psl-make-dafsa 0.23.3-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms