Git Product home page Git Product logo

clang.cr's People

Contributors

asterite avatar olbat avatar ysbaddaden avatar

Stargazers

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

Watchers

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

clang.cr's Issues

Error generating bindings

./c2cr -I/usr/include/tensorflow/c/c_api.h --remove-enum-prefix > /tmp/test.cr
Nil assertion failed (Exception)
0x557950334ef0: not_nil! at /usr/lib/crystal/class.cr 65:0
0x5579502f573a: __crystal_main at /home/unshadow/Desktop/git-projects/clang.cr/samples/c2cr.cr 0:3
0x557950305069: main at /usr/lib/crystal/main.cr 12:15
0x7fc688c6ef6a: __libc_start_main at ??
0x5579502f48ea: _start at ??
0x0: ??? at ??

Attached c header file to tests
tensor.zip

Remove crystal_lib?

@ysbaddaden So cool that you made this!

Does it mean we can delete https://github.com/crystal-lang/crystal_lib ? It has many bugs and it's not feature complete. Plus it only has the necessary features to generate (incomplete) bindings, but it's not general clang bindings.

I would personally like to delete that project because we don't have much time to maintain it.

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.