.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. .TH PPX-BASE: "1" "February 2024" "ppx-base: unknown option '--version'." "User Commands" .SH NAME ppx-base: \- manual page for ppx-base: unknown option '--version'. .SH DESCRIPTION ppx\-base [extra_args] [] .TP \fB\-as\-ppx\fR Run as a \fB\-ppx\fR rewriter (must be the first argument) .TP \fB\-\-as\-ppx\fR Same as \fB\-as\-ppx\fR .TP \fB\-as\-pp\fR Shorthand for: \fB\-dump\-ast\fR \fB\-embed\-errors\fR .TP \fB\-\-as\-pp\fR Same as \fB\-as\-pp\fR .TP \fB\-o\fR Output file (use '\-' for stdout) .TP \- Read input from stdin .TP \fB\-dump\-ast\fR Dump the marshaled ast to the output file instead of pretty\-printing it .TP \fB\-\-dump\-ast\fR Same as \fB\-dump\-ast\fR .TP \fB\-dparsetree\fR Print the parsetree (same as ocamlc \fB\-dparsetree\fR) .TP \fB\-embed\-errors\fR Embed errors in the output AST (default: true when \fB\-as\-pp\fR, false otherwise) .TP \fB\-null\fR Produce no output, except for errors .TP \fB\-impl\fR Treat the input as a .ml file .TP \fB\-\-impl\fR Same as \fB\-impl\fR .TP \fB\-intf\fR Treat the input as a .mli file .TP \fB\-\-intf\fR Same as \fB\-intf\fR .TP \fB\-debug\-attribute\-drop\fR Debug attribute dropping .TP \fB\-print\-transformations\fR Print linked\-in code transformations, in the order they are applied .TP \fB\-print\-passes\fR Print the actual passes over the whole AST in the order they are applied .TP \fB\-ite\-check\fR (no effect \fB\-\-\fR kept for compatibility) .TP \fB\-pp\fR Pipe sources through preprocessor (incompatible with \fB\-as\-ppx\fR) .TP \fB\-reconcile\fR (WIP) Pretty print the output using a mix of the input source and the generated code .TP \fB\-reconcile\-with\-comments\fR (WIP) same as \fB\-reconcile\fR but uses comments to enclose the generated code .TP \fB\-no\-color\fR Don't use colors when printing errors .TP \fB\-diff\-cmd\fR Diff command when using code expectations (use \- to disable diffing) .TP \fB\-pretty\fR Instruct code generators to improve the prettiness of the generated code .TP \fB\-styler\fR Code styler .TP \fB\-output\-metadata\fR FILE Where to store the output metadata .TP \fB\-corrected\-suffix\fR SUFFIX Suffix to append to corrected files .TP \fB\-loc\-filename\fR File name to use in locations .TP \fB\-reserve\-namespace\fR Mark the given namespace as reserved .TP \fB\-no\-check\fR Disable checks (unsafe) .TP \fB\-check\fR Enable checks .TP \fB\-no\-check\-on\-extensions\fR Disable checks on extension point only .TP \fB\-check\-on\-extensions\fR Enable checks on extension point only .TP \fB\-no\-locations\-check\fR Disable locations check only .TP \fB\-locations\-check\fR Enable locations check only .TP \fB\-apply\fR Apply these transformations in order (comma\-separated list) .TP \fB\-dont\-apply\fR Exclude these transformations .TP \fB\-no\-merge\fR Do not merge context free transformations (better for debugging rewriters). As a result, the context\-free transformations are not all applied before all impl and intf. .TP \fB\-cookie\fR NAME=EXPR Set the cookie NAME to EXPR .TP \fB\-\-cookie\fR Same as \fB\-cookie\fR .TP \fB\-deriving\-keep\-w32\fR {impl|intf|both} Do not try to disable warning 32 for the generated code .TP \fB\-deriving\-disable\-w32\-method\fR {code|attribute} How to disable warning 32 for the generated code .TP \fB\-type\-conv\-keep\-w32\fR {impl|intf|both} Deprecated, use \fB\-deriving\-keep\-w32\fR .TP \fB\-type\-conv\-w32\fR {code|attribute} Deprecated, use \fB\-deriving\-disable\-w32\-method\fR .TP \fB\-deriving\-keep\-w60\fR {impl|intf|both} Do not try to disable warning 60 for the generated code .TP \fB\-unused\-code\-warnings\fR _ Allow ppx derivers to enable unused code warnings .TP \fB\-help\fR Display this list of options .TP \fB\-\-help\fR Display this list of options .PP ppx\-base [extra_args] [] .TP \fB\-as\-ppx\fR Run as a \fB\-ppx\fR rewriter (must be the first argument) .TP \fB\-\-as\-ppx\fR Same as \fB\-as\-ppx\fR .TP \fB\-as\-pp\fR Shorthand for: \fB\-dump\-ast\fR \fB\-embed\-errors\fR .TP \fB\-\-as\-pp\fR Same as \fB\-as\-pp\fR .TP \fB\-o\fR Output file (use '\-' for stdout) .TP \- Read input from stdin .TP \fB\-dump\-ast\fR Dump the marshaled ast to the output file instead of pretty\-printing it .TP \fB\-\-dump\-ast\fR Same as \fB\-dump\-ast\fR .TP \fB\-dparsetree\fR Print the parsetree (same as ocamlc \fB\-dparsetree\fR) .TP \fB\-embed\-errors\fR Embed errors in the output AST (default: true when \fB\-as\-pp\fR, false otherwise) .TP \fB\-null\fR Produce no output, except for errors .TP \fB\-impl\fR Treat the input as a .ml file .TP \fB\-\-impl\fR Same as \fB\-impl\fR .TP \fB\-intf\fR Treat the input as a .mli file .TP \fB\-\-intf\fR Same as \fB\-intf\fR .TP \fB\-debug\-attribute\-drop\fR Debug attribute dropping .TP \fB\-print\-transformations\fR Print linked\-in code transformations, in the order they are applied .TP \fB\-print\-passes\fR Print the actual passes over the whole AST in the order they are applied .TP \fB\-ite\-check\fR (no effect \fB\-\-\fR kept for compatibility) .TP \fB\-pp\fR Pipe sources through preprocessor (incompatible with \fB\-as\-ppx\fR) .TP \fB\-reconcile\fR (WIP) Pretty print the output using a mix of the input source and the generated code .TP \fB\-reconcile\-with\-comments\fR (WIP) same as \fB\-reconcile\fR but uses comments to enclose the generated code .TP \fB\-no\-color\fR Don't use colors when printing errors .TP \fB\-diff\-cmd\fR Diff command when using code expectations (use \- to disable diffing) .TP \fB\-pretty\fR Instruct code generators to improve the prettiness of the generated code .TP \fB\-styler\fR Code styler .TP \fB\-output\-metadata\fR FILE Where to store the output metadata .TP \fB\-corrected\-suffix\fR SUFFIX Suffix to append to corrected files .TP \fB\-loc\-filename\fR File name to use in locations .TP \fB\-reserve\-namespace\fR Mark the given namespace as reserved .TP \fB\-no\-check\fR Disable checks (unsafe) .TP \fB\-check\fR Enable checks .TP \fB\-no\-check\-on\-extensions\fR Disable checks on extension point only .TP \fB\-check\-on\-extensions\fR Enable checks on extension point only .TP \fB\-no\-locations\-check\fR Disable locations check only .TP \fB\-locations\-check\fR Enable locations check only .TP \fB\-apply\fR Apply these transformations in order (comma\-separated list) .TP \fB\-dont\-apply\fR Exclude these transformations .TP \fB\-no\-merge\fR Do not merge context free transformations (better for debugging rewriters). As a result, the context\-free transformations are not all applied before all impl and intf. .TP \fB\-cookie\fR NAME=EXPR Set the cookie NAME to EXPR .TP \fB\-\-cookie\fR Same as \fB\-cookie\fR .TP \fB\-deriving\-keep\-w32\fR {impl|intf|both} Do not try to disable warning 32 for the generated code .TP \fB\-deriving\-disable\-w32\-method\fR {code|attribute} How to disable warning 32 for the generated code .TP \fB\-type\-conv\-keep\-w32\fR {impl|intf|both} Deprecated, use \fB\-deriving\-keep\-w32\fR .TP \fB\-type\-conv\-w32\fR {code|attribute} Deprecated, use \fB\-deriving\-disable\-w32\-method\fR .TP \fB\-deriving\-keep\-w60\fR {impl|intf|both} Do not try to disable warning 60 for the generated code .TP \fB\-unused\-code\-warnings\fR _ Allow ppx derivers to enable unused code warnings .TP \fB\-help\fR Display this list of options .TP \fB\-\-help\fR Display this list of options .SH "SEE ALSO" The full documentation for .B ppx-base: is maintained as a Texinfo manual. If the .B info and .B ppx-base: programs are properly installed at your site, the command .IP .B info ppx-base: .PP should give you access to the complete manual.