awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目MCP 服务器关于排名机制媒体报道
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

7 个仓库

Awesome GitHub RepositoriesC Header Binding Generators

Tools that parse C headers to automatically generate type-safe language bindings.

Distinct from Native Header Generators: Generates the final language bindings from headers, whereas native header generators often create C headers for other languages.

Explore 7 awesome GitHub repositories matching programming languages & runtimes · C Header Binding Generators. Refine with filters or upvote what's useful.

Awesome C Header Binding Generators GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • jetbrains/kotlin-nativeJetBrains 的头像

    JetBrains/kotlin-native

    6,982在 GitHub 上查看↗

    Kotlin-native is an ahead-of-time, cross-platform compiler and toolchain that transforms Kotlin source code into standalone native machine binaries. It functions as an LLVM native compiler, producing executable files that run directly on hardware without the requirement of a virtual machine. The project enables cross-platform native development across multiple operating systems and processor architectures, including iOS, Linux, and Windows. This allows for the creation of native Apple platform applications and software for embedded systems programming where direct memory management and minima

    Provides tools to parse C headers and automatically generate type-safe language bindings for native interoperability.

    Kotlinccompilerkotlin
    在 GitHub 上查看↗6,982
  • swig/swigswig 的头像

    swig/swig

    6,294在 GitHub 上查看↗

    SWIG is a tool that generates wrapper code to expose C and C++ libraries to a wide range of higher-level programming languages. It reads annotated C/C++ header files and produces language-specific bindings from a single interface definition, supporting languages such as Python, Java, Ruby, C#, Perl, and many others. The generated wrapper code is free from the project's GPL license, allowing users to distribute it under their own terms. The tool handles modern C++ features including templates, namespaces, smart pointers, and constructs up to C++20 through specialized parsing and code generatio

    Generates wrapper code exposing C and C++ libraries to high-level programming languages.

    SWIG
    在 GitHub 上查看↗6,294
  • progrium/darwinkitprogrium 的头像

    progrium/darwinkit

    5,428在 GitHub 上查看↗

    Darwinkit 是一个 Cgo 互操作层和原生绑定库,允许 Go 应用程序调用 Apple 框架和系统 API。它作为 Go 运行时与原生 C 兼容符号之间的桥梁,旨在促进 macOS 系统编程和原生应用程序开发。 该项目包含一个 Objective-C 绑定生成器,可扫描系统符号数据库以生成 Go 源代码和常量。该工具支持检查框架符号并管理绑定模块,以保持与原生框架的当前接口一致。 该库提供了一个内存管理系统,用于协调 Go 内部的原生对象生命周期。这涵盖了引用计数的使用、创建自动释放池以处理延迟对象,以及应用终结器以防止内存泄漏。 它还支持通过直接绑定系统调用和内核信息请求与操作系统进行直接交互。

    Provides a generator that scans system symbol databases to produce Go source code and constants for native frameworks.

    Goappkitappleapple-apis
    在 GitHub 上查看↗5,428
  • rust-lang/rust-bindgenrust-lang 的头像

    rust-lang/rust-bindgen

    5,212在 GitHub 上查看↗

    Rust-bindgen is a build-time foreign function interface binding generator and C header parser designed to automate cross-language interoperability. It functions as a tool to bridge Rust with C, C++, and Objective-C libraries by producing platform-specific declarations during the compilation process. The project distinguishes itself through its ability to handle complex C-family language constructs, including C++ inheritance and methods, as well as Objective-C classes and protocols. It ensures binary compatibility across different architectures by calculating target-aware memory layouts and va

    Parses C or C++ headers during the build process to automatically generate foreign function interface signatures.

    Rustbindingscodegenffi
    在 GitHub 上查看↗5,212
  • dotnet/silk.netdotnet 的头像

    dotnet/Silk.NET

    4,907在 GitHub 上查看↗

    Silk.NET is a low-level API binding library for the .NET ecosystem that provides high-performance interfaces for graphics, audio, and input APIs. It consists of a C header binding generator that converts headers into type-safe language bindings, a graphics API interface for GPU compute and rendering, and a cross-platform windowing wrapper. The project utilizes a customizable pipeline to automate the generation of language bindings from C headers by mapping metadata to syntax trees. Its windowing and input abstraction provides a unified interface to manage application windows across different

    Includes a pipeline that automates the creation of language bindings by parsing C headers into metadata and syntax trees.

    C#3daudiocsharp
    在 GitHub 上查看↗4,907
  • eliben/pycparsereliben 的头像

    eliben/pycparser

    3,473在 GitHub 上查看↗

    pycparser is a C99 parser library that converts C source code into an abstract syntax tree consisting of Python objects. It functions as an abstract syntax tree generator, transforming preprocessed C code into a structured hierarchy for programmatic analysis and transformation. The library integrates with a C preprocessor to handle directives before parsing. It also features a stub header parser, which uses minimal mock headers to allow the parsing of C code without requiring a full system C library installation. The project provides tools for static code analysis, C program analysis, and so

    Provides minimal stub headers to enable parsing of C source code without a full system library installation.

    Python
    在 GitHub 上查看↗3,473
  • intel/llvmintel 的头像

    intel/llvm

    1,497在 GitHub 上查看↗

    The project is a reusable collection of modular compiler and toolchain technologies designed for building optimizers, code generators, and multi-language programming environments. It provides foundational compiler frontend technologies that translate source code written in C, C++, and Objective-C into a low-level programming language and intermediate code format. This intermediate representation enables cross-language analysis, program transformation, and target-independent optimization alongside a cross-platform programming framework that allows developers to write single-source accelerated a

    Automatically generates C and C++ header files and Python modules from interface definitions to streamline cross-language integration.

    LLVMintelllvmoneapi
    在 GitHub 上查看↗1,497
  1. Home
  2. Programming Languages & Runtimes
  3. Language Interoperability
  4. Native C Interoperability
  5. C Function Bindings
  6. Native Header Generators
  7. C Header Binding Generators

探索子标签

  • Comment ExtractionExtracting and preserving source code comments from headers to include as documentation in generated bindings. **Distinct from C Header Binding Generators:** Distinct from C Header Binding Generators: focuses on the extraction of metadata/comments for documentation rather than the generation of types.
  • Header AggregationConsolidating multiple header files into a single processing stream to control binding generation. **Distinct from C Header Binding Generators:** Distinct from C Header Binding Generators: focuses on the aggregation and filtering of multiple headers before generation, not the generation process itself.
  • Header MockingThe practice of creating fake headers to allow a parser to function without real system headers. **Distinct from C Header Binding Generators:** Distinct from Binding Generators: focuses on providing mock headers to the parser, not generating bindings for other languages.
  • Objective-C Symbol Binding GeneratorsTools that generate language bindings by scanning native symbol databases and Objective-C metadata. **Distinct from C Header Binding Generators:** Distinct from C Header Binding Generators: uses symbol databases rather than parsing C header files.