Git Product home page Git Product logo

nimnuklear's Introduction

Nimnuklear is a Nim wrapper for the nuklear library.

Nimnuklear is distributed as a Nimble package and depends on nimgen and c2nim to generate the wrappers. The nuklear source code is downloaded using Git so having git in the path is required.

Installation

Nimnuklear can be installed via Nimble:

> nimble install https://github.com/genotrance/nimnuklear

This will download, wrap and install nimnuklear in the standard Nimble package location, typically ~/.nimble. Once installed, it can be imported into any Nim program.

Usage

Module documentation can be found here.

Refer to the demo directory for examples on how the library can be used.

Credits

Nimnuklear wraps the nuklear source code and all licensing terms of nuklear apply to the usage of this package.

Credits go out to c2nim as well without which this package would be greatly limited in its abilities.

Feedback

Nimnuklear is a work in progress and any feedback or suggestions are welcome. It is hosted on GitHub with an MIT license so issues, forks and PRs are most appreciated.

nimnuklear's People

Contributors

alexmax avatar genotrance avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nimnuklear's Issues

Doesn't compile on windows10

nuklear_sdl_gl3.nim(308, 21) Error: type mismatch: got <proc (usr: handle, text: cstring, len: cint){.cdecl, gcsafe, locks: 0.}> but expected 'plugin_copy = proc (a2: handle, a3: cstring, len: cint){.closure.}'

Redefinition of 'plugin_filter'

Trying to run the test after generating the binding fails with the following error:

C:\Users\alexm\Documents\Workspace\nimnuklear\nimnuklear\nuklear.nim(1250, 3) Error:
redefinition of 'plugin_filter'

Tried on both Windows and Linux, fails in the same spot.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.