From 9d37aa7a71801f3569d2a2a55dc82c37935f205a Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Tue, 10 Dec 2019 19:16:01 +0100 Subject: 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. --- codegen/src/ext/mod.rs | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 codegen/src/ext/mod.rs (limited to 'codegen/src/ext/mod.rs') diff --git a/codegen/src/ext/mod.rs b/codegen/src/ext/mod.rs deleted file mode 100644 index c28d9f7..0000000 --- a/codegen/src/ext/mod.rs +++ /dev/null @@ -1,2 +0,0 @@ -pub mod utf8; -pub mod vt; -- cgit