Wednesday, November 25, 2015

diamond_shell (0.382)

This is the Diamond-Shell project. This project aims to write a Ruby Shell, which should also be similar to bash, while offering irb-like functionality as well. Eventually it should be able to serve as a replacement for e. g. bash. It is currently in a testing stage, not even early Beta - please keep this in mind when giving this project a try, as quite a few things may not be working as intended. (Or are flat out missing as of yet.) Several things have not been added yet, so a lot of it is a stub, it will require a lot more work. For the available options, do this: dia --help What will we need in order to make this project more complete? - We need a full replacement for IRB. - We need the ability to synchronize between different Diamond Shells. - RPROMPT from zsh (optional, not mandatory) - Friendly help for newcomers (all those help options must be controllable though, so that advanced users can disable these at their own discretion). The release in September 2015 added: $ or in long form show-method show-source This allows you to view the source of a method. The releases in October and November 2015 mostly just polished the existing code base and improved on the tutorial; we did however had also add the ability to define local @ivars. For instance, @foo = 'Hello World!' should now correctly work just as it does in irb. Other objects also work such as @foo = (1..3) This is still somewhat limited though. The latest November 2015 release also now allows you to redirect output into a file, in append-mode. For instance: cat foo.rb >> bla.txt Will properly append the content of foo.rb into a file called bla.txt
V247

No comments:

Post a Comment