https://github.com/mcandre/ehrlich
Reviving dead code
https://github.com/mcandre/ehrlich
Last synced: 11 months ago
JSON representation
Reviving dead code
- Host: GitHub
- URL: https://github.com/mcandre/ehrlich
- Owner: mcandre
- Created: 2011-08-03T06:13:54.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2020-09-12T17:24:03.000Z (almost 6 years ago)
- Last Synced: 2025-04-14T07:47:05.173Z (about 1 year ago)
- Language: Makefile
- Homepage: https://github.com/mcandre/ehrlich
- Size: 14.6 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ehrlich - Reviving dead code
# HOMEPAGE
http://www.yellosoft.us/ehrlich
# ABOUT
Ehrlich is a small command line wrapper around the [erl\_tidy](http://www.erlang.org/doc/man/erl_tidy.html) library. Ehrlich scans directories, reading .erl files and generating more idiomatic code.
# INSTALLATION
Add the ehrlich directory to `PATH`.
# EXAMPLE
```console
$ cd src/
$ ./bin/ehrlich ehrlich/
reading module `./ehrlich/example.erl'.
./ehrlich/example.erl:7: expanding call to imported function `lists:map/2'.
./ehrlich/example.erl:7: replacing call to `lists:map/2' with a list comprehension.
./ehrlich/example.erl:7: changing application of fun-expression to local function call.
./ehrlich/example.erl:3: removing unused imports:
`lists:map/2'
````
# REQUIREMENTS
* [Erlang OTP](http://www.erlang.org) 21+
## Optional
* [Python](https://www.python.org/) 3+
* [GHC Haskell](https://www.haskell.org/) 8+
* [Go](https://golang.org/) 1.9+
* [GNU make](https://www.gnu.org/software/make/)
* [checkbashisms](https://sourceforge.net/projects/checkbaskisms/)