From 4b49b1d0cc23f909d1be89cf8f816f820b343e0a Mon Sep 17 00:00:00 2001 From: Benjamin Barenblat Date: Sun, 26 Dec 2021 13:53:22 -0500 Subject: Don’t hard-code escape sequences MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of hard-coding VT100-compatible escape sequences, parse the system terminfo database and read escape sequences from it. This is both more flexible (it should work well on more terminals) and more efficient (it won’t insert padding on terminals that don’t need it). --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 372a089..96043ef 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,8 @@ heavy-duty numerical analysis, EC is not yet the tool for you. To build EC, you’ll need [our customized version of Abseil](https://git.benjamin.barenblat.name/ec-abseil/), which is checked in as a Git submodule. You’ll also need GCC, [Antlr 4](https://www.antlr.org/), -and [Ninja](https://ninja-build.org/), none of which is checked in; on a Debian -system, you can run `apt install build-essential ninja-build antlr4 -libantlr4-runtime-dev` to get the packages you need. Fire up `ninja`, wait a -bit, and you’ll soon have an `ec` binary in the repository root. Enjoy! +[re2c](https://re2c.org/), and [Ninja](https://ninja-build.org/), none of which +is checked in; on a Debian system, you can run `apt install build-essential +ninja-build antlr4 libantlr4-runtime-dev re2c` to get the packages you need. +Fire up `ninja`, wait a bit, and you’ll soon have an `ec` binary in the +repository root. Enjoy! -- cgit v1.2.3