SERTOK(1)

πŸ“¦ version 8.20.0+0.20.0, in debian trixie, ubuntu questing

πŸ’… NAME πŸ’…

okay bestie, so this whole page is the manual page for sertok β€” section 1, User Commands, the whole vibe. no preamble needed, let's get into it ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

πŸ’– NAME πŸ’–

sertok β€” it's the sertok Coq tokenizer. that's the name. periodt.

🌸 SYNOPSIS 🌸

sertok [OPTION]??? FILE

✨ DESCRIPTION ✨

Experimental Coq tokenizer. (yes bestie, experimental β€” we'll get to that, stay with me πŸ™ˆ)

πŸŽ€ USAGE πŸŽ€

so if you wanna serialize tokens in the file fs/fun.v with the logical path Funs, you literally just do this:

sertok -Q fs,Funs fs/fun.v > fs/fun.sexp

and boom πŸ’₯ that's it. for more info, go check out the documentation on the project's website, iykyk.

🫢 ARGUMENTS 🫢

  • FILE (required) β€” the input file. you GOTTA hand it one, no cap.

πŸ‘‘ OPTIONS πŸ‘‘

  • --async=COQTOP β€” turns on async support using the Coq binary COQTOP. (experimental, bestie β€” so, you know.)
  • --async-workers=VAL (absent=3) β€” the max number of async workers. three is the default, iconic.
  • --coqlib=COQPATH (absent=/usr/lib/x86_64-linux-gnu/ocaml/5.3.0/coq) β€” loads Coq.Init.Prelude from COQPATH; plugins/ and theories/ should be living right there, fr fr.
  • --debug β€” turns on debug mode for Coq. πŸ›
  • --disallow-sprop β€” forbids using the proof irrelevant SProp sort. (it's allowed by default, fyi.)
  • --error-recovery β€” enables Coq's error recovery inside tactics and commands. it's giving resilience πŸ’ͺ
  • --exn_on_opaque β€” [debug option] raise an exception on non-serializeble terms. yes it's spelled that way in the original, we don't touch it, we don't fix it, we respect it 🫑
  • -I DIR, --ml-include-path=DIR β€” include DIR in the default loadpath, for locating ML files. πŸ”
  • --impredicative-set β€” enable the Coq -impredicative-set option. (disabled by default.)
  • --indices-matter β€” levels of indices (and nonuniform parameters) contribute to the level of inductives. (disabled by default.)
  • --omit_att β€” [debug option] omit attribute nodes.
  • --omit_env β€” [debug option] turn enviroments into abstract objects. (yes, "enviroments", the typo is canon, we keep it πŸ’…)
  • --omit_loc β€” [debug option] shorten location printing.
  • --printer=VAL (absent=sertop) β€” pick one of: sertop; a custom printer (UTF-8 with emacs-compatible quoting); human; sexplib's human-format printer (recommended for debug sessions); or mach, sexplib's machine-format printer.
  • -Q DIR,LP, --load-path=DIR,LP β€” bind a logical loadpath LP to a directory DIR. πŸ—‚οΈ
  • --quick β€” skip checking opaque proofs. (very experimental.) like, very. tread carefully bestie 😭
  • -R DIR,LP, --rec-load-path=DIR,LP β€” bind a logical loadpath LP to a directory DIR and implicitly open its namespace. the overachiever of the -Q family, honestly πŸ‘‘

🌈 COMMON OPTIONS 🌈

  • --help[=FMT] (default=auto) β€” show this help in format FMT. FMT has to be one of auto, pager, groff or plain. with auto, the format is pager or plain whenever the TERM env var is dumb or undefined. (so like, if your terminal is being weird, it keeps it simple 🫢)
  • --version β€” show version information. slay.

πŸ’€ EXIT STATUS πŸ’€

sertok exits with:

  • 0 β€” on success πŸŽ‰
  • 123 β€” on indiscriminate errors reported on standard error
  • 124 β€” on command line parsing errors
  • 125 β€” on unexpected internal errors (bugs) 🐞

πŸ’œ SEE ALSO πŸ’œ

The full documentation for sertok is maintained as a Texinfo manual. If the info and sertok programs are properly installed at your site, the command

info sertok

should give you access to the complete manual. πŸ“–βœ¨


and that's the whole page bestie β€” this one's sertok, dated June 2025, and you just read the SERTOK(1) man page. go tokenize something, you absolute icon πŸ‘‘πŸ’–πŸ¦‹

πŸ“¦ where this page comes from