OTT(1)
πΈ NAME πΈ
Ott β manual page for Ott version 0.34, distribution of Mon Dec 30 10:12:45 GMT 2024 π
β¨ DESCRIPTION β¨
okay so bestie, welcome to OTT(1), you made it π this is the manual page for Ott version 0.34, distribution of Mon Dec 30 10:12:45 GMT 2024 β same version, same date, she's consistent, we love that for her π
here's the whole vibe, the way you actually call her:
ott <options> <filename1> .. <filenamen>
want the ocamlyacc trace? iconic. use: OCAMLRUNPARAM=p ott ...
and lowkey the bestie shortcut, because nobody wants to type -i eight times:
ott <options> <filename1> .. <filenamen>
is equivalent to
ott -i <filename1> .. -i <filenamen> <options>
same energy, different outfit β¨
π the options (all of them, no skipping, no cap) π
-i<filename> β input file π can be used multiple times (stack 'em up bestie)-o<filename> β output file, also can be used multiple times-writesys<filename> β output system definition-readsys<filename> β input system definition-tex_filter<src><dst> β files to TeX filter-coq_filter<src><dst> β files to Coq filter-hol_filter<src><dst> β files to HOL filter-lem_filter<src><dst> β files to HOL filter (yes, it says HOL again, that's literally what the page says, I'm just the messenger π«Ά)-isa_filter<src><dst> β files to Isabelle filter-ocaml_filter<src><dst> β files to OCaml filter-merge<false> β merge grammar and definition rules (defaults to <false>)-parse<string> β test parse symterm, eg":nontermroot: term"-fast_parse<false> β do not parse:rulename:pseudoterminals-signal_parse_errors<false> β return>0if there are bad defns-picky_multiple_parses<false> β picky about multiple parses-quotient_rules<true> β quotient rules, as per{{ quotient-with ntr }}homs-generate_aux_rules<true> β generate auxiliary rules or constructor arguments from{{ aux ... }}homs-aux_style_rules<true> β auxiliary rules (true) vs constructor arguments (false)-output_source_locations<0> β include source location info in output (0=none,1=drules,2=grammar+drules)-colour<true> β use (vt220) colour for ASCII pretty print π-show_sort<false> β show ASCII pretty print of syntax-show_defns<false> β show ASCII pretty print defns-tex_show_meta<true> β include meta prods and rules in TeX output-tex_show_categories<false> β signal production flags in TeX output-tex_suppress_category<[]> β suppress productions and rules with this category in TeX output-tex_suppress_ntr<[]> β suppress nonterminal root in TeX output-tex_colour<true> β colour parse errors in TeX output-tex_wrap<true> β wrap TeX output in document pre/postamble-tex_name_prefix<string> β prefix for tex commands (default"ott")-isabelle_primrec<true> β use"primrec"instead of"fun"for functions-isabelle_inductive<true> β use"inductive"instead of"inductive_set"for relations-isa_syntax<false> β use fancy syntax in Isabelle output β¨-isa_generate_lemmas<false> β lemmas for collapsed functions in Isabelle-coq_avoid<1> β coq type-name avoidance (0=nothing,1=avoid,2=secondaryify)-coq_expand_list_types<false> β expand list types in Coq output-coq_lngen<false> β lngen compatibility-coq_names_in_rules<true> β copy user names in rule definitions-coq_use_filter_fn<false> β uselist_filterinstead oflist_minus2in substitutions-ocaml_include_terminals<false> β include terminals in OCaml output (experimental!)-ocaml_pp<target.ml filename> β generate OCaml AST pretty printer files (experimental!) (also included in.mlytarget)-ocaml_pp_ast_moduleβ override default OCaml module name for AST module (experimental!)-ocaml_pp_json<false> β include JSON output in pretty printer (experimental)-pp_grammarβ (debug) print term grammar-dot<filename> β (debug) dot graph of syntax dependencies-alltt<filename> β (debug) alltt output of single source file-sort<true> β (debug) do topological sort-process_defns<true> β (debug) process inductive reln definitions-showraw<false> β (debug) show raw grammar-ugly<false> β (debug) use ugly ASCII output π-no_rbcatn<true> β (debug) remove relevant bind clauses-lem_debugβ (debug) print lem debug locations-helpβ display this list of options--helpβ display this list of options
tiny vibe check before you go: the-ocaml_*pretty-printer crew is marked experimental, and the(debug)gang is literally labelled debug, so don't act surprised when they act up π
and that's the whole page bestie, you ate π go compile something gorgeous. this was Ott version 0.34, distribution ... June 2025 β mwah, periodt ππ
π¦ where this page comes from
- debian trixie: ott-tools 0.34+ds-1+b4 Β· BSD-3-Clause
- ubuntu questing: ott-tools 0.34+ds-1build4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms