]> granicus.if.org Git - re2c/commitdiff
Moved LICENSE, README, NO_WARRANTY and CHANGELOG to the root directory.
authorUlya Trofimovich <skvadrik@gmail.com>
Mon, 4 Mar 2019 17:32:50 +0000 (17:32 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Mon, 4 Mar 2019 17:32:50 +0000 (17:32 +0000)
CHANGELOG [moved from re2c/CHANGELOG with 100% similarity]
LICENSE [moved from re2c/LICENSE with 100% similarity]
NO_WARRANTY [new file with mode: 0644]
README [moved from re2c/README with 82% similarity]
re2c/NO_WARRANTY [deleted file]

similarity index 100%
rename from re2c/CHANGELOG
rename to CHANGELOG
similarity index 100%
rename from re2c/LICENSE
rename to LICENSE
diff --git a/NO_WARRANTY b/NO_WARRANTY
new file mode 100644 (file)
index 0000000..dfe4520
--- /dev/null
@@ -0,0 +1,2 @@
+re2c is distributed with no warranty whatever. The author and any other
+contributors take no responsibility for the consequences of its use.
similarity index 82%
rename from re2c/README
rename to README
index aa440a29209b077766692f89e55e0d096e51b38c..2fcc5777898c6c6559053f6009e94fcb08d7991e 100644 (file)
+++ b/README
@@ -4,19 +4,19 @@ re2c
 
 DESCRIPTION
 --------------------------------------------------------------------------------
-re2c is a tool for generating C-based recognizers from regular expressions.
-re2c-based scanners are efficient: for programming languages, given similar
-specifications, a re2c-based scanner is typically almost twice as fast as a
-flex-based scanner with little or no increase in size (possibly a decrease
-on cisc architectures). Indeed, re2c-based scanners are quite competitive with
-hand-crafted ones.
-
-Unlike flex, re2c does not generate complete scanners: the user must supply some
-interface code.  While this code is not bulky (about 50-100 lines for a
-flex-like scanner; see the man page and examples in the distribution) careful
-coding is required for efficiency (and correctness). One advantage of this
-arrangement is that the generated code is not tied to any particular input
-model.
+re2c is a free and open-source lexer generator for C and C++.
+
+Its main goal is generating fast lexers: at least as fast as their reasonably
+optimized hand-coded counterparts. Instead of using traditional table-driven
+approach, re2c encodes the generated finite state automata directly in the form
+of conditional jumps and comparisons. The resulting programs are faster and
+often smaller than their table-driven analogues, and they are much easier to
+debug and understand. re2c applies quite a few optimizations in order to speed
+up and compress the generated code.
+
+Another distinctive feature is its flexible interface: instead of assuming a
+fixed program template, re2c lets the programmer write most of the interface
+code and adapt the generated lexer to any particular environment.
 --------------------------------------------------------------------------------
 
 
diff --git a/re2c/NO_WARRANTY b/re2c/NO_WARRANTY
deleted file mode 100644 (file)
index 885a13d..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-re2c is distributed with no warranty whatever.  The author and any other
-contributors take no responsibility for the consequences of its use.