Coder Social home page Coder Social logo

racket-rash's Introduction

This is a shell language, library, and REPL for Racket.

asciicast

Use as a repl that is as convenient for pipelining programs as Bash is, but has all the power of Racket. Use as a scripting language with #lang rash. Embed in normal Racket files with (require rash), and mix freely with any other Racket language or library.

I gave a talk about Rash at RacketCon 2017. You can watch it here.

Rash is in active development, and is not stable as a language. But I use it as my default interactive shell on my laptop. It's far from complete, but I already like it much better than Bash. Give it a try.

Online documentation is here. After installing with raco pkg install rash, documentation is available locally by running raco docs rash. You can install the git version by running git clone https://github.com/willghatch/racket-rash rash && cd rash && raco pkg install

See also the shell-pipeline library that contains most of the actual meat of the Rash language.

Completion

Tab completion and line editing is enabled in the readline branch. It depends on the git version of Racket's readline-lib ffi library. To use it, run raco pkg upgrade --clone readline-lib (run it in a directory where you want to have the readline package git repo) to get the latest readline package. Say "yes" to also cloning the readline and readline-doc packages, since they are in the same git repo. Then check out the readline branch of rash (raco pkg upgrade --clone rash if you used raco pkg install rash) and maybe run raco setup.

Once the next Racket release is made (in or around January 2018), the readline branch will be merged and be on by default.

racket-rash's People

Contributors

willghatch avatar bennn avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.