@hackage / c-expr-dsl

DSL for the language support by c-expr-runtime

Latest0.1.0.1

About

Metadata

  • Last updated , by dschrempf
  • License BSD-3-Clause
  • Categories Systems Programming
  • Maintained by: info@well-typed.com

  • Lottery factor: 2

Links

Installation

Tested Compilers

  1. 9.12.2
  2. 9.10.3
  3. 9.8.4
  4. 9.6.7
  5. 9.4.8
  6. 9.2.8

Readme

c-expr-dsl

c-expr-dsl is a Haskell library providing a DSL for the C expression and type language implemented by c-expr-runtime: a Parsec-based parser turning LLVM/Clang libclang macro tokens into a syntax tree, and a bidirectional typechecker. It supports the hs-bindgen project but can be used independently.

c-expr-dsl requires an LLVM/Clang installation, as it parses macros via libclang; see libclang-bindings for setup details.

See the main README for more information, and the changelog for release notes.