There will be some shims needed to connect Scheme to JS when writing Hoot apps, but over time I think a lot of that can just be provided as JS libraries so you don’t have to write them!
Yeah that’s what I’m hoping for. I had a very quick look when 0.2.0 was released and was a little disappointed to find that I had to manually copy a few files around to make things work. It sounds like (unless I’m misinterpreting) reflect.js doesn’t need to be copied manually anymore now?
I should have another look. Even having to copy some files around isn’t a huge deal of course because once it’s done it’s done
I’ve tried to clone the Hoot demo repository and run the guix shell manifest command as per their readme, but I’m left with an error as follows:
guile-hoot-ffi-demo$ guix shell -m manifest.scm
hint: Consider passing the `--check' option once to make sure your shell does not clobber environment variables.
/home/davd33/Code/guile-hoot-ffi-demo/manifest.scm:15:37: error: guile-hoot: unbound variable
hint: Did you forget a `use-modules' form?
Has someone succeded in running their demos locally?
No, no, no. You don’t need nonguix for this. And your guix describe output is the same as mine. Just do it like this: guix describe -f channels and it will look the same. I should’ve just written the full command. I’ve edited my last comment to make it less confusing
Have you added a new GUIX_PROFILE after guix pull as it suggested here?
Unfortunately, I still don’t have access to my debian machine.
The guile-hoot package is in the core guix channel so you don’t need nonguix. As long as you have a reasonably up-to-date Guix you should be all set. Run guix show guile-hoot to confirm that it’s there.
Late response here but reflect.js is still something you need to copy over for now. In the future, Hoot will generate a JS file specific to the program you are compiling.
BTW, Spritely also runs a Discourse forum that we recently made public where you can ask questions about Hoot (and anything else related to Spritely)! https://community.spritely.institute/