← All packages

aihc-cpp1.0.0.0

Pure Haskell C preprocessor for aihc

Open the imported Cabal file ↗

author
David Himmelstrup
bug-reports
https://github.com/ai-haskell-compiler/aihc/issues
build-type
Simple
cabal-version
3.8
category
Development
extra-doc-files
CHANGELOG.md
homepage
https://github.com/ai-haskell-compiler/aihc/tree/main/components/aihc-cpp
license
Unlicense
license-file
LICENSE
maintainer
lemmih@gmail.com
name
aihc-cpp
synopsis
Pure Haskell C preprocessor for aihc
version
1.0.0.0
Show the complete metadata as JSON
{
  "schemaVersion": 1,
  "name": "aihc-cpp",
  "version": "1.0.0.0",
  "cabalVersion": "3.8",
  "buildType": "Simple",
  "fields": {
    "author": [
      "David Himmelstrup"
    ],
    "bug-reports": [
      "https://github.com/ai-haskell-compiler/aihc/issues"
    ],
    "build-type": [
      "Simple"
    ],
    "cabal-version": [
      "3.8"
    ],
    "category": [
      "Development"
    ],
    "description": [
      "A pure Haskell C preprocessor for Haskell source files that use CPP. The\npackage provides deterministic preprocessing with include continuations and\noracle-backed tests against cpphs."
    ],
    "extra-doc-files": [
      "CHANGELOG.md"
    ],
    "homepage": [
      "https://github.com/ai-haskell-compiler/aihc/tree/main/components/aihc-cpp"
    ],
    "license": [
      "Unlicense"
    ],
    "license-file": [
      "LICENSE"
    ],
    "maintainer": [
      "lemmih@gmail.com"
    ],
    "name": [
      "aihc-cpp"
    ],
    "synopsis": [
      "Pure Haskell C preprocessor for aihc"
    ],
    "version": [
      "1.0.0.0"
    ]
  },
  "components": [
    {
      "kind": "library",
      "name": "main",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [
            "Aihc.Cpp"
          ],
          "otherModules": [
            "Aihc.Cpp.Cursor",
            "Aihc.Cpp.Evaluator",
            "Aihc.Cpp.Parser",
            "Aihc.Cpp.Scanner",
            "Aihc.Cpp.Types"
          ],
          "dependencies": [
            {
              "package": "base",
              "range": ">=4.16 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "bytestring",
              "range": ">=0.10.8 && <0.13",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": ">=0.5 && <0.8",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "deepseq",
              "range": ">=1.4 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "filepath",
              "range": ">=1.3.0.1 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "text",
              "range": ">=1.2 && <2.2",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": []
      }
    },
    {
      "kind": "test-suite",
      "name": "spec",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [
            "Test.Progress"
          ],
          "dependencies": [
            {
              "package": "aihc-cpp",
              "range": ">=1.0 && <1.1",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "base",
              "range": ">=4.16 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "bytestring",
              "range": ">=0.10.8 && <0.13",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": ">=0.5 && <0.8",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "cpphs",
              "range": ">=1.20 && <1.21",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "directory",
              "range": ">=1.2.3 && <1.5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "filepath",
              "range": ">=1.3.0.1 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty",
              "range": ">=1.5 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-hunit",
              "range": ">=0.10 && <0.11",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "tasty-quickcheck",
              "range": ">=0.11.1 && <0.12",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "text",
              "range": ">=1.2 && <2.2",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {
            "type": [
              "exitcode-stdio-1.0"
            ]
          }
        },
        "branches": []
      }
    },
    {
      "kind": "executable",
      "name": "cpp-progress",
      "tree": {
        "data": {
          "buildable": null,
          "exposedModules": [],
          "otherModules": [
            "Test.Progress"
          ],
          "dependencies": [
            {
              "package": "aihc-cpp",
              "range": ">=1.0 && <1.1",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "base",
              "range": ">=4.16 && <5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "bytestring",
              "range": ">=0.10.8 && <0.13",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "containers",
              "range": ">=0.5 && <0.8",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "cpphs",
              "range": ">=1.20 && <1.21",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "directory",
              "range": ">=1.2.3 && <1.5",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "filepath",
              "range": ">=1.3.0.1 && <1.6",
              "libraries": [
                "main"
              ]
            },
            {
              "package": "text",
              "range": ">=1.2 && <2.2",
              "libraries": [
                "main"
              ]
            }
          ],
          "fields": {}
        },
        "branches": []
      }
    }
  ],
  "setupDependencies": [],
  "flags": [],
  "sourceRepositories": [
    {
      "kind": "head",
      "fields": {
        "location": [
          "https://github.com/ai-haskell-compiler/aihc.git"
        ],
        "subdir": [
          "components/aihc-cpp"
        ],
        "type": [
          "git"
        ]
      }
    }
  ],
  "warnings": [],
  "sourceUrl": "https://hackage.haskell.org/package/aihc-cpp-1.0.0.0/aihc-cpp.cabal",
  "sha256": "cc855be09e008f36f56361373300d555d20928e7b4e366f4c373483952b0865b",
  "importedAt": "2026-10-04T09:56:24.708Z",
  "dependencies": [
    {
      "package": "base",
      "range": ">=4.16 && <5",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "bytestring",
      "range": ">=0.10.8 && <0.13",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "containers",
      "range": ">=0.5 && <0.8",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "deepseq",
      "range": ">=1.4 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "filepath",
      "range": ">=1.3.0.1 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "text",
      "range": ">=1.2 && <2.2",
      "libraries": [
        "main"
      ],
      "component": "library:main",
      "conditions": []
    },
    {
      "package": "aihc-cpp",
      "range": ">=1.0 && <1.1",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "base",
      "range": ">=4.16 && <5",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "bytestring",
      "range": ">=0.10.8 && <0.13",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "containers",
      "range": ">=0.5 && <0.8",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "cpphs",
      "range": ">=1.20 && <1.21",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "directory",
      "range": ">=1.2.3 && <1.5",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "filepath",
      "range": ">=1.3.0.1 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "tasty",
      "range": ">=1.5 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "tasty-hunit",
      "range": ">=0.10 && <0.11",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "tasty-quickcheck",
      "range": ">=0.11.1 && <0.12",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "text",
      "range": ">=1.2 && <2.2",
      "libraries": [
        "main"
      ],
      "component": "test-suite:spec",
      "conditions": []
    },
    {
      "package": "aihc-cpp",
      "range": ">=1.0 && <1.1",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "base",
      "range": ">=4.16 && <5",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "bytestring",
      "range": ">=0.10.8 && <0.13",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "containers",
      "range": ">=0.5 && <0.8",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "cpphs",
      "range": ">=1.20 && <1.21",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "directory",
      "range": ">=1.2.3 && <1.5",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "filepath",
      "range": ">=1.3.0.1 && <1.6",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    },
    {
      "package": "text",
      "range": ">=1.2 && <2.2",
      "libraries": [
        "main"
      ],
      "component": "executable:cpp-progress",
      "conditions": []
    }
  ],
  "exposedModules": [
    "Aihc.Cpp"
  ],
  "documents": {
    "readme": {
      "status": "missing",
      "sha256": null,
      "error": null,
      "checkedAt": "2026-10-04T09:56:25.528Z"
    },
    "changelog": {
      "status": "available",
      "sha256": "c9a8e914fac0d19cd841b267919c916c63142e748ed93621d3b19230d6aeaabb",
      "error": null,
      "checkedAt": "2026-10-04T09:56:25.621Z"
    }
  },
  "versions": [
    {
      "version": "2.0.0.0",
      "imported_at": "2026-10-04T09:56:55.753Z"
    },
    {
      "version": "1.0.0.2",
      "imported_at": "2026-10-04T09:56:46.964Z"
    },
    {
      "version": "1.0.0.1",
      "imported_at": "2026-10-04T09:56:35.359Z"
    },
    {
      "version": "1.0.0.0",
      "imported_at": "2026-10-04T09:56:24.708Z"
    }
  ]
}

Import a package

Enter a package name and an exact version from Hackage. The site contains imported versions only.