https://github.com/danielearwicker/nimbah
Easy way to create throwaway text transformers: http://earwicker.com/nimbah
https://github.com/danielearwicker/nimbah
Last synced: 10 months ago
JSON representation
Easy way to create throwaway text transformers: http://earwicker.com/nimbah
- Host: GitHub
- URL: https://github.com/danielearwicker/nimbah
- Owner: danielearwicker
- Created: 2012-12-19T19:27:21.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-01T22:52:37.000Z (over 13 years ago)
- Last Synced: 2025-04-12T21:36:20.245Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.52 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
nimbah
======
In Visual Studio 2012 they got rid of the instant macro recorder/player. I occasionally found this
useful for performing repetative reformatting tasks on chunks of source code.
But it was never quite right for the job anyway; it worked by recording your actions in the UI and
then playing them back, and it was often tricky to go through the motions in the right way so that
they could be repeated effectively on all the other lines.
What's more suited is an interactive UI that allows you to build up a transformation out of the
usual functional operators (map, filter, reduce) and a few handy parsers that split strings up into
sequences of shorter strings. It should instantly show you the input and output of any step in
the transformation, and also let you drop conveniently into using simple JavaScript expressions
whenever that's the easiest way to get the result you need.
And so that's what Nimbah is all about. It takes an input text stream and turns it into an output
text stream, by passing it through a pipeline of functional operators that you can manipulate with
drag and drop.
Play with it live here: http://earwicker.com/nimbah