aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/testLua/yueliang-0.4.1/orig-5.1.3/README
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/testLua/yueliang-0.4.1/orig-5.1.3/README54
1 files changed, 0 insertions, 54 deletions
diff --git a/LuaSL/testLua/yueliang-0.4.1/orig-5.1.3/README b/LuaSL/testLua/yueliang-0.4.1/orig-5.1.3/README
deleted file mode 100644
index 06fea0a..0000000
--- a/LuaSL/testLua/yueliang-0.4.1/orig-5.1.3/README
+++ /dev/null
@@ -1,54 +0,0 @@
1orig-5.1.3
2
3This is a straightforward port of the Lua 5.1.3 front end (lexical
4analyzer, parser, code generator, binary chunk dumper.)
5
6The front end files are:
7
8 lopcodes.lua opcode definition
9 lzio.lua input streams
10 llex.lua lexical analyzer
11 lparser.lua parser
12 lcode.lua code generator
13 ldump.lua binary chunk dumper
14
15Status: operational, passes all current tests (non-exhaustive)
16
17Major test scripts are:
18
19 test/test_llex.lua exercises test cases
20 test/test_lparser2.lua exercises test cases
21
22luac.lua is a clone of Lua 5.1.3's luac.lua, except that it generates a
23binary chunk using Yueliang's front end implementation.
24
25See the README file in orig-5.0.3 for a discussion.
26
27The following is some performance data. Note that absolutely nothing has
28been done to optimize the code; it is meant to mirror the original C as
29an educational tool.
30
31 lzio llex TOTAL Speed (1)
32 (bytes) (bytes) (bytes) (KB/s)
33----------------------------------------------
34(in orig-5.0.3:)
35----------------------------------------------
36normal 2219 12639 14585 404.9
37stripped 1292 7618 8910
38----------------------------------------------
39(in orig-5.0.3:)
40----------------------------------------------
41normal - - - 389.7
42stripped - - -
43----------------------------------------------
44
45(1) Speed was benchmarked using a Sempron 3000+. Benchmark scripts are
46in the test directories. Best of first three figures quoted. This is a
47measurement of raw lexer speed, i.e. tokens are read but no processing
48is done. All files are read in entirely before running the lexer.
49
50For Lua 5.1.1, see Yueliang 0.2.1, which was the last release of Lua
515.1.1 material.
52
53For Lua 5.1.2, see Yueliang 0.2.2, which was the last release of Lua
545.1.2 material.