Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add guile binding at share/guile/site/libfive.scm #337

Closed
wants to merge 1 commit into from

Conversation

KoviRobi
Copy link

@KoviRobi KoviRobi commented May 4, 2020

Something like this seems to work, now I can do

(use-modules (libfive)
             (libfive kernel)
             (libfive vec)
             (libfive csg)
             (libfive shapes))

Fixes #336

@KoviRobi
Copy link
Author

KoviRobi commented May 4, 2020

Currently trying to figure out how to compile the three components separately (libfive, libfive-guile, libfive-studio), which would make the licenses less ambiguous at least. That might be a different PR though.

@KoviRobi
Copy link
Author

Also, I wonder if we could perhaps just have a minimal (libfive) module that does the C api, and ship the rest of the files a both .scm and .go files, that might be better (e.g. better editor support -- looking up source-code, etc)

@mkeeter
Copy link
Member

mkeeter commented Feb 20, 2021

I ended up moving all the bindings to Scheme (using the C FFI for everything) in #383, so I'll close this PR.

@mkeeter mkeeter closed this Feb 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Guile Module, install .scm file that does load-extensions?
2 participants