3 ms·
I just wish it was easier to get started with Guile tbh. I'm an Emacs user so I don't have to learn Emacs to use Scheme and I still find the experience pretty b
by NeutralForest 2y ago
I just wish it was easier to get started with Guile tbh. I'm an Emacs user so I don't have to learn Emacs to use Scheme and I still find the experience pretty bare-bone. There aren't many tutorials about creating Guile projects, writing tests, debugging, etc.
- BaculumMeumEst 2y agoAnd there’s no step debugger available for guile in Emacs like there is for emacs lisp, Common Lisp, racket, and Clojure which is unfortunate
- paroneayea 2y agoThere is step debugging available in Guile plus Geiser, but it's not very reliable. You can call ,next for instance, see: https://www.gnu.org/software/guile/manual/html_node/Interactive-Debugging.html https://www.gnu.org/software/guile/manual/html_node/Interact... https://www.gnu.org/software/guile/manual/html_node/Debug-Commands.html https://www.gnu.org/software/guile/manual/html_node/Debug-Co... Unfortunately the problem is that Guile optimizes away whole chunks of code, and thus debugging information is not as good as it could be, and if you set traps they might be optimized out too. My understanding is that this could be made better, but could use a champion. (The other trick is to turn off the optimizations when debugging, which is sometimes what I do.)
- stephen_cagle 2y agoWhat is the step debugger for clojure you recommend?
- pjmlp 2y agoCursive, https://cursive-ide.com/ https://cursive-ide.com/
- BaculumMeumEst 2y agoCider has worked the best for me. I've used Cursive in Intellij but I ran into a lot of issues where it would not trip the debugger for some reason where Cider worked fine.