Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 68 lines (63 sloc) 2.449 kb
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
name="batteries"
version="@VERSION@"
description="Batteries Included, the stdlib of choice"
requires ="unix,num,bigarray,str"
requires(mt)+="threads"
archive(toploop) ="batteries.cma batteriesHelp.cmo"
archive(toploop,mt)+="batteriesThread.cma"
archive(byte) ="batteries.cma"
archive(byte,mt) +="batteriesThread.cma"
archive(native) ="batteries.cmxa"
archive(native,mt) +="batteriesThread.cmxa"

package "qtest" (
description = "QTest, the testing framwork of choice"
version = "@VERSION@"
requires = "unix,oUnit"
archive(byte) = "qtest.cma"
archive(native) = "qtest.cmxa"
)

package "pa_string" (
        description = "pseudo-native Unicode strings (container)"
version = "@VERSION@"
package "syntax" (
                requires="camlp4,estring"
description = "pseudo-native Unicode strings (syntax extension)"
version = "@VERSION@"
archive(syntax, preprocessor) = "pa_strings.cma"
archive(syntax, toploop) = "pa_strings.cma"
)
)

package "pa_comprehension" (
description = "comprehension expressions (container)"
version = "@VERSION@"
package "syntax" (
                requires = "camlp4"
description = "comprehension expressions (syntax extension)"
version = "@VERSION@"
archive(syntax, preprocessor) = "pa_comprehension.cmo"
archive(syntax, toploop) = "pa_comprehension.cmo"
)
)

package "pa_llist" (
        descriptions = "lazy list syntax (container)"
        version = "@VERSION@"
        package "syntax" (
                requires = "camlp4"
                description = "lazy list syntax (syntax extension)"
                version = "@VERSION@"
                archive(syntax, preprocessor) = "pa_llist.cmo"
                archive(syntax, toploop) = "pa_llist.cmo"
        )
)

package "syntax" (
        version = "@VERSION@"
        description = "Standard extensions to the OCaml language, full package"
        # the direct approach (requiring the .syntax packages) doesn't work:
        # you get "When using -syntax, the META variable 'preprocessor' must
        # be set" even when we require camlp4 or set preprocessor here, so
        # we use a brute-force approach
        requires = "camlp4, estring"
        requires(toploop) = "camlp4, estring, batteries"
        archive(syntax, preprocessor) = "pa_strings.cma pa_comprehension.cmo pa_llist.cmo"
archive(syntax, toploop) = "pa_strings.cma pa_comprehension.cmo pa_llist.cmo"
)
Something went wrong with that request. Please try again.