SERTOK(1)
π 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 binaryCOQTOP. (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) β loadsCoq.Init.PreludefromCOQPATH;plugins/andtheories/should be living right there, fr fr.--debugβ turns on debug mode for Coq. π--disallow-spropβ forbids using the proof irrelevantSPropsort. (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β includeDIRin the default loadpath, for locating ML files. π--impredicative-setβ enable the Coq-impredicative-setoption. (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); ormach, sexplib's machine-format printer.-Q DIR,LP,--load-path=DIR,LPβ bind a logical loadpathLPto a directoryDIR. ποΈ--quickβ skip checking opaque proofs. (very experimental.) like, very. tread carefully bestie π-R DIR,LP,--rec-load-path=DIR,LPβ bind a logical loadpathLPto a directoryDIRand implicitly open its namespace. the overachiever of the-Qfamily, honestly π
π COMMON OPTIONS π
--help[=FMT](default=auto) β show this help in formatFMT.FMThas to be one ofauto,pager,grofforplain. withauto, the format ispagerorplainwhenever theTERMenv var isdumbor 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 error124β on command line parsing errors125β 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
- debian trixie: coq-serapi 8.20.0+0.20.0-1+b4 Β· LGPL-2.1-or-later
- ubuntu questing: coq-serapi 8.20.0+0.20.0-1build4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms