Re: [dev] [announce] mle: a small terminal-based text editor

2017-03-30 Thread as
h, and I personally didn't care about perfect highlighting, so I went with PCRE. Adam On Wed, Mar 29, 2017 at 5:25 PM, wrote: >> As others already have pointed out this metric isn't that useful in >> itself. What it does indicate is that some projects are beyond repair >&

Re: [dev] [announce] mle: a small terminal-based text editor

2017-03-29 Thread as
> As others already have pointed out this metric isn't that useful in > itself. What it does indicate is that some projects are beyond repair > (e.g. vim). I agree it's not useful beyond getting a ballpark estimate, esp without taking into account external deps. The 10k figure

Re: [dev] [announce] mle: a small terminal-based text editor

2017-03-29 Thread as
re included, and a single `make` at the top level builds everything. As you point out, unfortunately python (waf) is required to build termbox. I went with termbox over ncurses as I vastly prefer its api, and the library itself is cleaner. I'll see if the maintainer will merge a plain Makefile.

Re: [dev] [announce] mle: a small terminal-based text editor

2017-03-29 Thread as
ic on other editors: vim: 430k kakoune: 27k nano: 25k vis: 22k mle: 10k kilo: 1k Naturally it's not perfect as it counts comments and blank lines etc. But at least in that sense it is on the small side. Adam On Wed, Mar 29, 2017 at 10:34 AM, Martin Kühne wrote: > tl;dr > >> mle we

[dev] [announce] mle: a small terminal-based text editor

2017-03-29 Thread as
Hello, I am announcing mle, a small terminal-based text editor written in C: https://github.com/adsr/mle mle weighs in at ~10k sloc, has 1 external dep[0], is configurable, extensible / scriptable, and fast. The default setup is nano- or emacs-like, but it supports modes as well. I've us