aboutsummaryrefslogtreecommitdiff
path: root/codegen/README.md
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2019-12-10 19:16:01 +0100
committerGitHub <noreply@github.com>2019-12-10 19:16:01 +0100
commit9d37aa7a71801f3569d2a2a55dc82c37935f205a (patch)
treefd20b01398034934957c0d311209103482836771 /codegen/README.md
parentea940fcb74abce67b927788e4f9f64fc63073d37 (diff)
downloadr-alacritty-vte-9d37aa7a71801f3569d2a2a55dc82c37935f205a.tar.gz
r-alacritty-vte-9d37aa7a71801f3569d2a2a55dc82c37935f205a.tar.bz2
r-alacritty-vte-9d37aa7a71801f3569d2a2a55dc82c37935f205a.zip
Remove table generation
This completely removes the `codegen` project, which relied on outdated libraries to parse DSLs to build the utf8 and vte state tables, to make the library easier to maintain. The utf8 table could be completely removed in favor of a `match` statement, which also lead to a performance improvement with the utf8 parser. The vte table did not benefit from `match` statements at all and instead had significantly worse performance with it. To replace the old codegeneration for vte, the `generate_state_changes` crate has been created instead, which uses the language's proc_macro feature to create a `const fn` which will generate the table at compile time.
Diffstat (limited to 'codegen/README.md')
-rw-r--r--codegen/README.md11
1 files changed, 0 insertions, 11 deletions
diff --git a/codegen/README.md b/codegen/README.md
deleted file mode 100644
index d13aa5d..0000000
--- a/codegen/README.md
+++ /dev/null
@@ -1,11 +0,0 @@
-codegen
-=======
-
-Depends on libsyntex and generates table.rs from table.rs.in. This code is
-separate from the main vtparse crate since compiling libsyntex takes ~1
-eternity.
-
-## Usage
-
-`cargo run` in the codegen folder will process `table.rs.in` and output
-`table.rs`. The latter file should be committed back into the repo.