Live data from Hacker News

Fir: A Friendly, Interactive Ruby REPL

nasseri.io

1–10 of 13 posts

Re: Fir: A Friendly, Interactive Ruby REPL

#2
The best interactive environment I've ever used (and still use) is an Emacs buffer with an associated inferior process. The default keybindings for Ruby mode interaction with inferior-ruby are a bit lacking, I have made a couple customisations for myself that can be helpful: https://www.gkayaalp.com/gk.html#orgf0bce87 .

Re: Fir: A Friendly, Interactive Ruby REPL

#3
post #2

The best interactive environment I've ever used (and still use) is an Emacs buffer with an associated inferior process. The default keybindings for Ruby mode interaction with inferior-ruby are a bit lacking, I have made a couple customisations for myself that can be helpful: https://www.gkayaalp.com/gk.html#orgf0bce87 .

Wow! that's some serious customization to your emacs config and well documented too. impressive.

Re: Fir: A Friendly, Interactive Ruby REPL

#4
post #2

The best interactive environment I've ever used (and still use) is an Emacs buffer with an associated inferior process. The default keybindings for Ruby mode interaction with inferior-ruby are a bit lacking, I have made a couple customisations for myself that can be helpful: https://www.gkayaalp.com/gk.html#orgf0bce87 .

Wow! that's some serious customization to your emacs config and well documented too. impressive.

Thanks!

Re: Fir: A Friendly, Interactive Ruby REPL

#5
post #2

The best interactive environment I've ever used (and still use) is an Emacs buffer with an associated inferior process. The default keybindings for Ruby mode interaction with inferior-ruby are a bit lacking, I have made a couple customisations for myself that can be helpful: https://www.gkayaalp.com/gk.html#orgf0bce87 .

Very neat. Do your maintain this by hand or generate it with something? (Unrelated but computer program is 'program' even in British spelling).

Re: Fir: A Friendly, Interactive Ruby REPL

#6
post #5
post #2

The best interactive environment I've ever used (and still use) is an Emacs buffer with an associated inferior process. The default keybindings for Ruby mode interaction with inferior-ruby are a bit lacking, I have made a couple customisations for myself that can be helpful: https://www.gkayaalp.com/gk.html#orgf0bce87 .

Very neat. Do your maintain this by hand or generate it with something? (Unrelated but computer program is 'program' even in British spelling).

Thanks! I use org-mode and org-babel to generate this, and hook it up into org-publish which I use to publish all of my website. Org-babel is a literate programming extension to org mode that allows you to embed code in any language in your org mode document and execute them or export to many formats.

Re: Fir: A Friendly, Interactive Ruby REPL

#7
post #5
post #2

The best interactive environment I've ever used (and still use) is an Emacs buffer with an associated inferior process. The default keybindings for Ruby mode interaction with inferior-ruby are a bit lacking, I have made a couple customisations for myself that can be helpful: https://www.gkayaalp.com/gk.html#orgf0bce87 .

Very neat. Do your maintain this by hand or generate it with something? (Unrelated but computer program is 'program' even in British spelling).

If you enjoy this style of literate documentation, then you might enjoy my personal Emacs configuration too (it is smaller). The following should be placed in ~/.emacs/init.el:

https://github.com/skx/dotfiles/blob/master/.emacs.d/init.el

That reads and parses the following Markdown file, which contains documentation for humans and indented code-blocks which are executed by Emacs:

https://github.com/skx/dotfiles/blob/master/.emacs.d/init.md

Re: Fir: A Friendly, Interactive Ruby REPL

#9
Really cool, you don't really need to list all the emacs commands in the Readme. Even if is where most of the work went.

I would love to help. I can try to implement some of the pry features into Fir or work on a Rails integration ala pry-rails.

Post reply on HN