aleix's blog

Tweak your Guile REPL

1 May 2013 0:31 am (scheme | guile)

If you are new to Guile and start the REPL right away you will find yourself with no history, no completions, no colors and even the cursor keys not working as expected.

Fortunately, all these problems can be solved by loading a couple of modules.

The first one is to enable readline support. This will enable command history, completions (pressing TAB), cursors will work properly, you will have parenthesis matching, Emacs key bindings support and more.

Simply put this in ~/.guile:

(use-modules (ice-9 readline))
(activate-readline)

To colorize the REPL there is also an awesome new module, nala-repl. This module doesn't come with Guile yet, so you have to clone the repository and install it yourself:

$ git clone git://github.com/NalaGinrut/nala-repl.git
$ cd nala-repl
$ sudo make install

And, as before, add the following lines to your ~/.guile:

(use-modules (nala colorized))
(activate-colorized)

nala-repl provides some more nice modules, make sure to read the README file.

Now, go and enjoy the Guile REPL!

17 responses

  1. angle says:

    Awesome, thanks!

  2. Pranshu Kharkwal says:
  3. nature of Partnership Firm says:

    Great content

  4. Write Me an Essay says:

    The REPL is the property of the livelihood. If you run cunning with the listen disagreement, it will offspring off a REPL strand, listening on a port.

  5. custom essay writing service says:

    Thesis paper essay symbols service you must appreciate writing every and each one review after you can do physically. The best paper script service is documented by the best quality. Look easy in addition to using tips and behavior knows how to better method to place fountain pen to manuscript and paper. as a result need to prepare a best essay armed forces in last semester, I can refer online services If you are writing essay choose high-class paper and better quality document and search Google can help get ready a good essay.

  6. Az Screen Recorder Apk says:

    rew

  7. HR Online Assignment Help says:

    Fantastic post I like it. Keep it up.

  8. marketing assignment help australia says:

    Thanx for sharing such useful post keep it up :)

  9. realmer clash says:

    One of the best game for playing.Favorite game for so many players around the world.

  10. https://www.rprogramminghelp.com/ says:

    Thanx for sharing such useful post keep it up

  11. http://www.afford.com.pk/ says:

    The leading assignment help UK firm offers state of the art services to its clients with a promise of delivering all the required work well within the deadline.

  12. Michele Bardsley says:

    Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you made for writing this awesome article

  13. Tree root protection says:

    Thanks for the good post. Kept up and tell us more about that topic.

  14. assignment writing help service says:

    We seem to imbue the mute with a nobility we do not find in humanity - a humanity which too often runs off at the mouth with tripe doled out with seemingly superior opposable thumbs. To humanity's detriment, humanity most often appears at best, childish and foolish. Thumbs down to this deplorable behaviour we of humanity succumb to.

  15. lukenlow says:

    I like it more and more on your website, there is a lot of material that I never knew and learned thanks to your site 192.168.1.254

  16. uk essay writing service says:

    Your blog gave us significant data to work with. Each and each tip of your post are great. You rock for sharing. Continue blogging.

  17. programming assignments help says:

    My friend recommended this blog and he was totally right keep up the fantastic work!

Leave a Reply