/usr/lib/ocaml/METAS/META.camlp4 is in libfindlib-ocaml 1.4-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 | # Specifications for the "camlp4" preprocessor:
requires = ""
version = "[distributed with Ocaml]"
description = "Base for Camlp4 syntax extensions"
directory = "+camlp4"
# For the toploop:
requires(byte,toploop) = "dynlink"
archive(byte,toploop,camlp4o) = "camlp4o.cma"
archive(byte,toploop,camlp4r) = "camlp4r.cma"
# For the preprocessor itself:
archive(syntax,preprocessor,camlp4o) = "-parser o -parser op -printer p"
archive(syntax,preprocessor,camlp4r) = "-parser r -parser rp -printer p"
preprocessor = "camlp4"
package "lib" (
requires = "camlp4 dynlink"
version = "[distributed with Ocaml]"
description = "Camlp4 library"
archive(byte) = "camlp4lib.cma"
archive(byte,toploop) = "" # already contained in camlp4*.cma
archive(native) = "camlp4lib.cmxa"
)
package "gramlib" (
requires = "camlp4.lib"
version = "[distributed with Ocaml]"
description = "Compatibilty name for camlp4.lib"
)
# dont use camlp4.lib and camlp4.fulllib together'
package "fulllib" (
requires = "camlp4 dynlink"
version = "[distributed with Ocaml]"
description = "Camlp4 library"
error(pkg_camlp4.lib) = "camlp4.lib and camlp4.fulllib are incompatible"
archive(byte) = "camlp4fulllib.cma"
archive(byte,toploop) = "" # already contained in camlp4*.cma
archive(native) = "camlp4fulllib.cmxa"
)
package "quotations" (
version = "[distributed with Ocaml]"
description = "Syntax extension: Quotations to create AST nodes"
requires = "camlp4.quotations.r" # backward compat
archive(syntax,preprocessor) = "-ignore foo"
package "o" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax extension: Quotations to create AST nodes (original syntax)"
archive(syntax,preprocessor) = "-parser Camlp4QuotationCommon -parser Camlp4OCamlOriginalQuotationExpander"
archive(syntax,toploop) = "Camlp4Parsers/Camlp4QuotationCommon.cmo Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo"
)
package "r" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax extension: Quotations to create AST nodes (revised syntax)"
archive(syntax,preprocessor) = "-parser Camlp4QuotationCommon -parser Camlp4OCamlRevisedQuotationExpander"
archive(syntax,toploop) = "Camlp4Parsers/Camlp4QuotationCommon.cmo Camlp4Parsers/Camlp4OCamlRevisedQuotationExpander.cmo"
)
)
package "extend" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax extension: EXTEND the camlp4 grammar"
archive(syntax,preprocessor) = "-parser Camlp4GrammarParser"
archive(syntax,toploop) = "Camlp4Parsers/Camlp4GrammarParser.cmo"
)
package "listcomprehension" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax extension for list comprehensions"
archive(syntax,preprocessor) = "-parser Camlp4ListComprehension"
archive(syntax,toploop) = "Camlp4Parsers/Camlp4ListComprehension.cmo"
)
package "macro" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax extension: Conditional compilation"
archive(syntax,preprocessor) = "-parser Camlp4MacroParser"
archive(syntax,toploop) = "Camlp4Parsers/Camlp4MacroParser.cmo"
)
package "mapgenerator" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Traverse data structure (map style)"
archive(syntax,preprocessor) = "-filter Camlp4MapGenerator"
archive(syntax,toploop) = "Camlp4Filters/Camlp4MapGenerator.cmo"
)
package "foldgenerator" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Traverse data structure (fold style)"
archive(syntax,preprocessor) = "-filter Camlp4FoldGenerator"
archive(syntax,toploop) = "Camlp4Filters/Camlp4FoldGenerator.cmo"
)
package "metagenerator" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Generate AST generator for data structure"
archive(syntax,preprocessor) = "-filter Camlp4MetaGenerator"
archive(syntax,toploop) = "Camlp4Filters/Camlp4MetaGenerator.cmo"
)
package "locationstripper" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Remove location info from AST"
archive(syntax,preprocessor) = "-filter Camlp4LocationStripper"
archive(syntax,toploop) = "Camlp4Filters/Camlp4LocationStripper.cmo"
)
package "tracer" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Trace execution"
archive(syntax,preprocessor) = "-filter Camlp4Tracer"
archive(syntax,toploop) = "Camlp4Filters/Camlp4Tracer.cmo"
)
package "exceptiontracer" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Trace exception execution"
archive(syntax,preprocessor) = "-filter Camlp4ExceptionTracer"
archive(syntax,toploop) = "Camlp4Filters/Camlp4ExceptionTracer.cmo"
)
package "profiler" (
requires = "camlp4"
version = "[distributed with Ocaml]"
description = "Syntax filter: Count events during execution"
archive(syntax,preprocessor) = "-filter Camlp4Profiler"
archive(syntax,toploop) = "Camlp4Filters/Camlp4Profiler.cmo"
archive(byte) = "camlp4prof.cmo"
archive(native) = "camlp4prof.cmx"
)
|