cog-gen-c

C code generator library for Cog IDL

1 unstable release

0.1.0 Apr 26, 2019


Used in cog-gen-c-bin

MIT/Apache

18KB
390 lines

Cog IDL

Cog IDL is an Interface Description Language for generating cross-language C APIs that can be dynamically loaded. It provides intentionally limited high level building blocks inspired by The Machinery, and generates bindings for various languages.

Currently supported languages:

  • C
  • Rust

Planned languages:

  • C#
  • Lua

Dynamic loading and hosting managed languages is out of scope of this project, it only provides API generation infrastructure.

License

Licensed under either of

at your option.

Dependencies

~2–2.8MB
~56K SLoC