Nim C Interop

Official

Nim-C interop with safe FFI

AuthorTheBushidoCollective
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Enable Nim programs to call C libraries and expose Nim code to C applications, with safe, typed boundaries.

Core Features & Use Cases

  • Importing C functions via pragmas (importc/exportc)
  • Wrapping C libraries with Nim wrappers
  • Header generation and type-safe interop patterns

Quick Start

Create a Nim wrapper for a C function using importc pragma and call it from Nim.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Nim C Interop
Download link: https://github.com/TheBushidoCollective/han/archive/main.zip#nim-c-interop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository