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